From owner-freebsd-arch Tue May 29 9:31:43 2001 Delivered-To: freebsd-arch@freebsd.org Received: from relay.nuxi.com (nuxi.cs.ucdavis.edu [169.237.7.38]) by hub.freebsd.org (Postfix) with ESMTP id AB29037B422 for ; Tue, 29 May 2001 09:31:39 -0700 (PDT) (envelope-from obrien@nuxi.ucdavis.edu) Received: from dragon.nuxi.com (root@[206.40.252.115]) by relay.nuxi.com (8.11.2/8.11.2) with ESMTP id f4TGVdl53147 for ; Tue, 29 May 2001 09:31:39 -0700 (PDT) (envelope-from obrien@NUXI.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.11.3/8.11.1) id f4TGVcn34387 for arch@FreeBSD.org; Tue, 29 May 2001 09:31:38 -0700 (PDT) (envelope-from obrien) Date: Tue, 29 May 2001 09:31:38 -0700 From: "David O'Brien" To: arch@FreeBSD.org Subject: Re: Overriding compiler flags (Re: cvs commit: src/contrib/gcc.295 gcc.c) Message-ID: <20010529093138.D34199@dragon.nuxi.com> Reply-To: obrien@FreeBSD.org References: <200105290954.f4T9skF86521@freefall.freebsd.org> <20010529040250.A81586@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010529040250.A81586@xor.obsecurity.org>; from kris@obsecurity.org on Tue, May 29, 2001 at 04:02:50AM -0700 X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, May 29, 2001 at 04:02:50AM -0700, Kris Kennaway wrote: > On Tue, May 29, 2001 at 02:54:46AM -0700, David E. O'Brien wrote: > > obrien 2001/05/29 02:54:46 PDT > > > > Modified files: > > contrib/gcc.295 gcc.c > > Log: > > 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. ... > The latter three obviously don't cover general code, but the plethora > of options is starting to get ugly. I just mentioned the use of GCC_OPTIONS I did figuring that one would interest people the most. I added GCC_OPTIONS to be orthoginal with DIFF_OPTIONS, CVS_OPTIONS, and GREP_OPTIONS. GCC_OPTIONS could also be used when building third party software and you dont' want to edit their Makefiles, etc. -- -- David (obrien@FreeBSD.org) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message