[RFC/PATCH] buildsys: cache build flags in vars
Mike Frysinger
vapier at gentoo.org
Tue Jan 17 05:42:02 UTC 2012
On Monday 16 January 2012 21:39:34 Khem Raj wrote:
> On Mon, Jan 16, 2012 at 6:12 PM, Mike Frysinger wrote:
> > you don't check linker flags via gcc. you check the linker flags via the
> > linker. this is why the cache funcs setup additional variables for use
> > via the compiler driver.
>
> right and one of those additional variables gets set wrongly to be used by
> gcc and its used as well what gcc gets is
>
> gcc ... -Wl,--sort-sections alignment ....
>
> and then complains that it does not know anything about 'alignment'
> the right options to gcc would have been
>
> gcc ... -Wl,--sort-sections -Wl,alignment ....
>
> so computing CFLAG_-Wl* flags does not do the right thing in above case
i'll change it to use = in there. i could update the ld/as helpers to also
mung the "%" into ",", but i'm not entirely convinced we need to bother.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.busybox.net/pipermail/uclibc/attachments/20120117/428e5c08/attachment.asc>
More information about the uClibc
mailing list