Bug 382

Summary: CFLAGS messed up
Product: glibc Reporter: Ervin Németh <nemethe+com.redhat.bugzilla>
Component: libcAssignee: GOTO Masanori <gotom>
Status: RESOLVED FIXED    
Severity: normal CC: glibc-bugs
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:
Attachments: Patch to avoid sorting the CFLAGS

Description Ervin Németh 2004-09-13 14:10:35 UTC
If I specify CFLAGS="-O2 --param max-reload-search-insns=200" for configure,
during make, gcc will be run with "--param -O2 max-reload-search-insns=200" and
so the compilation fails.
Comment 1 Roland McGrath 2004-09-13 19:02:04 UTC

*** This bug has been marked as a duplicate of 333 ***
Comment 2 Ervin Németh 2004-09-14 07:24:35 UTC
Created attachment 192 [details]
Patch to avoid sorting the CFLAGS

Is it documented that glibc can be compiled with gcc? Yes it is.

Is it documented that glibc can be compiled with user supplied CFLAGS? Yes it
is.

Is it documented that gcc accepts "--param NAME=VALUE"? Yes it is.
Comment 3 Ervin Németh 2004-09-14 07:29:17 UTC
Not related to bug #333

I fully understand why my build fails.
Comment 4 Andreas Schwab 2004-09-27 13:03:45 UTC
You can use --param=foo instead. 
Comment 5 Andreas Jaeger 2004-12-19 15:06:43 UTC
Fixed according to comments #3 and #4.