View previous topic :: View next topic |
Author |
Message |
asymptotic n00b
Joined: 19 Dec 2010 Posts: 18
|
Posted: Sun Nov 11, 2012 9:34 pm Post subject: emerge zlib inexplicably removes space from CFLAGS |
|
|
Dear All,
In my make.conf, I set
CFLAGS="-march=atom -mssse3 -mfpmath=sse -fomit-frame-pointer -Os -pipe"
Normally, that works fine. But today, when I try to emerge zlib 1.2.7, emerge inexplicably removes a space from this CFLAGS setting, and tries to run (for example)
cc -march=atom-mssse3 -mfpmath=sse -fomit-frame-pointer -Os -pipe -DNO_FSEEKO -DNO_STRERROR -DNO_snprintf -DHAS_sprintf_void -I. -c -o example.o test/example.c
Not surprisingly, this leads to an emerge failure with the error message
test/example.c:1:0: error: bad value (atom-mssse3) for -march= switch
Any ideas, please? |
|
Back to top |
|
|
asymptotic n00b
Joined: 19 Dec 2010 Posts: 18
|
Posted: Sun Nov 11, 2012 9:48 pm Post subject: |
|
|
Sorry, my bad. I had a stray value sitting in the CFLAGS environment variable, which, at this stage of the build, was overriding the value in make.conf. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|