[Bug other/59365] Configure script does not pass CFLAGS/CXXFLAGS down to subtargets @ stage1

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Dec 2 08:59:00 GMT 2013


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59365

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |INVALID

--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
You might need also BUILD_CXXFLAGS/BUILD_CFLAGS set too.

Then again the easier way of fixing this is just set CC to include the option
you need like:
CC="gcc --sysroot=/"
CXX="g++ --sysroot=/"

This allows for better control of the first stage compiler than setting the
weird options for the other stages.

What options are you really trying to pass to the first stage compiler?



More information about the Gcc-bugs mailing list