[Buildroot] buildroot: gcc options
Gustavo Zacarias
gustavo at zacarias.com.ar
Wed Nov 20 11:45:23 UTC 2013
On 11/19/2013 02:23 PM, Arnout Vandecappelle wrote:
> Is there any reason why BR2_TARGET_OPTIMIZATIONS isn't used for
> building the C library?
The libc is somewhat fragile when built with some insane CFLAGS, for
instance (e)glibc is built at O2 (by Thomas P), allowing a switch to
another optimization level might be troublesome.
uClibc forces -Os in Rules.mak for BUILD_CFLAGS for example.
I'm unsure if we'd like to open pandora's box by merging them, maybe add
an option just for the libc?
Regards.
More information about the buildroot
mailing list