This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] add GCC_OPTIONS
- From: Jan Vroonhof <jvlists at ntlworld dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Thu, 26 Jun 2003 13:22:32 +0100
- Subject: Re: [PATCH] add GCC_OPTIONS
- Cancel-lock: sha1:sHmwOEW2cjh8IuJlqbxzn+kFtNI=
- References: <20030625212357.GA47034@dragon.nuxi.com>
"David O'Brien" <obrien@FreeBSD.org> writes:
> This patch takes an idea from GNU Grep and adds support for the
> "GCC_OPTIONS" environmental variable. This is *very* useful when one is
> building a read-only source base and one needs to tweak the options used
> by GCC. Examples are adding -g, -save-temps, -v, or -m32.
If you are going to this, please also have a command line option to
disable it.
Nothing is more annoying than you builds breaking because your build
system is integrated in someone else's and they set GCC_OPTIONS
instead of setting CFLAGS for some reason.
(this already happens with MAKEFLAGS)
Jan