[PATCH COMMITTED] Fix pretty printer failures when CPPFLAGS is defined with optimizations.
Siddhesh Poyarekar
siddhesh@gotplt.org
Mon Dec 26 05:05:00 GMT 2016
On Saturday 24 December 2016 12:19 AM, Carlos O'Donell wrote:
> In my build scripts I use:
>
> export CFLAGS="-g -O2 -Wl,--build-id=none"
> ...
> export CPPFLAGS="-g -O2 -Wl,--build-id=none"
>
> The CPPFLAGS end up _after_ the per-test CFLAGS.
>
> This means that the pretty printer tests compile at -O2 and fail.
-O2 is a C flag, not a cpp flag, so maybe the script is wrong?
Likewise, -Wl... flags ought to be in LDFLAGS.
Siddhesh
More information about the Libc-alpha
mailing list