[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: libtool 2.2.2, ccache and -all-static
From: |
Bob Friesenhahn |
Subject: |
Re: libtool 2.2.2, ccache and -all-static |
Date: |
Tue, 22 Apr 2008 11:01:33 -0500 (CDT) |
On Tue, 22 Apr 2008, Richard Purdie wrote:
I've noticed another problem with two packages in poky, prelink and
libvorbis. Both packages have areas where LDFLAGS="-all-static" is used.
The problem comes about since Poky sets CC to "ccache gcc", then libtool
puts the -static flag between ccache and gcc.
To reproduce:
wget http://www.vorbis.com/files/1.0.1/unix/libvorbis-1.0.1.tar.gz
I have (bad) memories of building libvorbis so I double-checked the
build I still have laying around (1.2.0) and see that after using
AM_PROG_LIBTOOL, its configure.in then has a field-day with
overwriting CC, CFLAGS, and other values. That is not how things are
supposed to be done. It is little wonder that there are some libtool
issues.
Bob
======================================
Bob Friesenhahn
address@hidden, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer, http://www.GraphicsMagick.org/