1 |
Brian Litzinger wrote: |
2 |
> On Tue, Dec 05, 2006 at 02:47:44PM -0500, Olivier Crete wrote: |
3 |
>> Hi, |
4 |
>> On Tue, 2006-05-12 at 09:33 -0800, Brian Litzinger wrote: |
5 |
>>> During my most recent emerge -u world: |
6 |
>>> |
7 |
>>> x86_64-pc-linux-gnu-gcc -std=gnu99 -O2 -march=athlon64 |
8 |
>>> -fomit-frame-pointer -pipe -Wl,--as-needed -o dd dd.o |
9 |
>> do you have -Wl,--as-needed in your CFLAGS ? |
10 |
> |
11 |
> I do not have '-Wl,--as-needed' in my CFLAGS so far as I understand |
12 |
> how things work. |
13 |
> |
14 |
> grep CFLAGS /etc/make.conf |
15 |
> CFLAGS="-O2 -march=athlon64 -fomit-frame-pointer -pipe" |
16 |
> CXXFLAGS="${CFLAGS}" |
17 |
|
18 |
If --as-needed is somewhere it should be in LDFLAGS, not CFLAGS. To be |
19 |
sure please post the output of emerge --info here. |