Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge zlib inexplicably removes space from CFLAGS
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
asymptotic
n00b
n00b


Joined: 19 Dec 2010
Posts: 18

PostPosted: Sun Nov 11, 2012 9:34 pm    Post subject: emerge zlib inexplicably removes space from CFLAGS Reply with quote

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
View user's profile Send private message
asymptotic
n00b
n00b


Joined: 19 Dec 2010
Posts: 18

PostPosted: Sun Nov 11, 2012 9:48 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
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