View Single Post

   
  #4 (permalink)  
Old 02-21-2008, 06:32 AM
walt
 
Posts: n/a
Default Re: xfree-4.3.0-r3 compile error

"Eels" <gelton@kabelfoon.nl> writes:

> These are my settings:
> CHOST="i686-pc-linux-gnu"
> CFLAGS="-march=i686 -O3 -pipe"
> CXXFLAGS="-march=i686 -O3 -pipe"



> > Eels wrote:
> >
> > > Hi,
> > >
> > > I keep on getting the same error when trying to emerge xfree-4.3.0-r3...



> > > make[2]: Entering directory
> > > `/var/tmp/portage/xfree-4.3.0-r3/work/xc/config/imake'
> > > march=i686 -O3 -O3 -O3 -O3


Notice that the compiler flag -O3 appears four times. Maybe I've just
never paid enough attention but I don't think I've seen that before.

My /etc/make.conf has this line:

CXXFLAGS="${CFLAGS}"

which seems like it should give the same result as what you use, but
I would try using it and see if it makes any difference. Those extra
compiler flags are coming from somewhere and I'm not sure where.

When you use -O2 instead of -O3 does the error message also change?
That might give a clue where the extra flags are coming from.
Reply With Quote