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: "schwab at suse dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 Aug 2006 08:01:22 -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 #10 from schwab at suse dot de 2006-08-06 08:01 -------
(In reply to comment #8)
> You don't pass compiler flags in CC. That's what CFLAGS is for.
Passing -xarch=v9 to the compiler makes it a different compiler in essence, one
that creates object files that are incompatible with the output of the default
compiler. It also changes the operation of the linker. That makes the flag
quite different from other compiler flags.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28515