This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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?


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