This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/36781] gcc can't be compiled in an environment that requires CFLAGS
- From: "joseph at codesourcery dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Jul 2008 02:51:03 -0000
- Subject: [Bug other/36781] gcc can't be compiled in an environment that requires CFLAGS
- References: <bug-36781-1600@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from joseph at codesourcery dot com 2008-07-10 02:51 -------
Subject: Re: New: gcc can't be compiled in an environment
that requires CFLAGS
On Thu, 10 Jul 2008, mikulas at artax dot karlin dot mff dot cuni dot cz wrote:
> If you have an environment where special CFLAGS are needed for compilation, gcc
> doesn't compile (in my example, it was Sparc that requires -m64). The
> configure/make scripts are so messed up that they will eventually drop CFLAGS
> and try to compile parts of gcc without them.
If special flags are required on all compilations they should be put in
variables such as CC, not CFLAGS.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36781