This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/59365] Configure script does not pass CFLAGS/CXXFLAGS down to subtargets @ stage1
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 02 Dec 2013 08:59:03 +0000
- Subject: [Bug other/59365] Configure script does not pass CFLAGS/CXXFLAGS down to subtargets @ stage1
- Auto-submitted: auto-generated
- References: <bug-59365-4 at http dot gcc dot gnu dot org/bugzilla/>
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?