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/36781] gcc can't be compiled in an environment that requires CFLAGS



------- 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


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