How about adding -Wl,-Os to LDFLAGS and removing --as-needed ?
Moritz Heiber
moe at lunar-linux.org
Thu Nov 22 12:24:02 CET 2007
You're aware of the fact that actually can select it through lunar
optimize, right?
On Thu, 22 Nov 2007 04:23:11 +0100
Zbigniew Luszpinski <zbiggy at o2.pl> wrote:
> 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
> _______________________________________________
> Lunar-dev mailing list
> Lunar-dev at lunar-linux.org
> http://foo-projects.org/mailman/listinfo/lunar-dev
--
GPG public key B189E8C8
More information about the Lunar-dev
mailing list