This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/28515] CFLAGS not propagated, resulting in object mismatch
- From: "ebotcazou at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 Aug 2006 07:34:44 -0000
- Subject: [Bug bootstrap/28515] CFLAGS not propagated, resulting in object mismatch
- References: <bug-28515-8784@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #9 from ebotcazou at gcc dot gnu dot org 2006-08-06 07:34 -------
> No, I'm trying to build a 64-bit GCC using cc in 64-bit mode (as per CFLAGS) on
> a 64-bit system. Nothing fancy here.
Sure, but you're not using the correct procedure. Use the first I posted.
> You don't pass compiler flags in CC. That's what CFLAGS is for.
You do for GCC. Tweaking CFLAGS for a bootstrap is a recipe for disaster.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28515