[PATCH] add GCC_OPTIONS
Jan Vroonhof
jvlists@ntlworld.com
Thu Jun 26 13:12:00 GMT 2003
"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
More information about the Gcc-patches
mailing list