How about adding -Wl,-Os to LDFLAGS and removing --as-needed ?

Zbigniew Luszpinski zbiggy at o2.pl
Thu Nov 22 04:23:11 CET 2007


Lunar can use:
LDFLAGS="$LDFLAGS -Wl,-O1"
but how about adding:
LDFLAGS="$LDFLAGS -Wl,-Os"
I use this set of flags and works great.

BTW: I think --as-needed flag should be removed - it makes more bad than good 
when used.

zbiggy


More information about the Lunar-dev mailing list