This is the mail archive of the gcc-patches@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]

Re: [PATCH] add GCC_OPTIONS


"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


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