Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 May 2001 23:27:46 +1000 (EST)
From:      Bruce Evans <bde@zeta.org.au>
To:        arch@FreeBSD.ORG
Cc:        "David E. O'Brien" <obrien@FreeBSD.ORG>
Subject:   Re: Overriding compiler flags (Re: cvs commit: src/contrib/gcc.295 gcc.c)
Message-ID:  <Pine.BSF.4.21.0105302323390.18042-100000@besplex.bde.org>
In-Reply-To: <20010529040250.A81586@xor.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 29 May 2001, Kris Kennaway wrote:

> Hmm.  We now have a number of ways of achieving this (some of these
> only work in some contexts):
> 
> Defining CFLAGS with ?= instead of = in /etc/make.conf

This is a no-op, because CFLAGS is always defined in /etc/make.conf.

> COPTS in <bsd.prog.mk>
> CWARNFLAGS in <bsd.sys.mk> (included from <bsd.{kmod,lib,prog}.mk>)
> DEBUG_FLAGS in <bsd.{lib,prog}.mk>
> 
> The latter three obviously don't cover general code, but the plethora
> of options is starting to get ugly.

I agree.  It got ugly already :-).  And we don't even install the specs
file in /usr/libdata/gcc.

Bruce


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0105302323390.18042-100000>