This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: How to using -O rather than -O2 when building binutils 2.11?


On Sun, 1 Apr 2001, Alan Modra wrote:

> On Sun, 1 Apr 2001, Alan Modra wrote:
> 
> > CXXFLAGS_FOR_TARGET comes from config/mt-linux.  How did CFLAGS get
> > changed??
> 
> Oh horibilus.  Line 818 and following of configure.

That was a little cryptic.  What's happening here is that configure is
grubbing a value for CFLAGS out of the Makefile if CFLAGS wasn't set in
the environment, but it's before the host and target fragments have been
pasted in.  Later, configure cleverly goes through the Makefile, after the
fragments have been pasted in, and substitutes its own value for CFLAGS...
Yuck.

Alan
-- 
Linuxcare


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]