GCC_OPTIONS

Ruslan Ermilov ru at FreeBSD.org
Fri Apr 4 09:42:02 PST 2003


On Fri, Apr 04, 2003 at 08:30:13AM -0800, David O'Brien wrote:
> On Fri, Apr 04, 2003 at 11:07:46AM +0300, Ruslan Ermilov wrote:
> > Guess what was in GCC_OPTIONS.  In short, we don't support
> > GCC_OPTIONS.  It isn't even mentioned in gcc(1) or GNU info
> > files.
> 
> We, FreeBSD, are the ones that added it.  That's why it isn't mentioned
> in the GNU docs.
> 
: revision 1.20
: date: 2001/05/29 09:54:45;  author: obrien;  state: Exp;  lines: +53 -1
: Support the environmental var "GCC_OPTIONS".  Which can hold a set of
: default options for GCC.  These options are interpreted first and can be
: overwritten by explicit command line parameters.  This provides one way of
: adding [temporary] options to your world build w/o editing /etc/make.conf.

So this is only to add temporary options to the default CFLAGS,
where simple

	make CFLAGS="`make -V CFLAGS` -foo -bar"

would do just fine?  Are there any other reasons behind adding
this variable?


Cheers,
-- 
Ruslan Ermilov		Sysadmin and DBA,
ru at sunbay.com		Sunbay Software AG,
ru at FreeBSD.org		FreeBSD committer,
+380.652.512.251	Simferopol, Ukraine

http://www.FreeBSD.org	The Power To Serve
http://www.oracle.com	Enabling The Information Age
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-all/attachments/20030404/82bd2b49/attachment.bin


More information about the cvs-all mailing list