*BSD News Article 56120


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!yarrina.connect.com.au!munnari.OZ.AU!spool.mu.edu!howland.reston.ans.net!newsfeed.internetmci.com!news.kei.com!nntp.coast.net!oleane!in2p3.fr!univ-lyon1.fr!ensta!itesec!keltia.frmug.fr.net!sidhe.frmug.fr.net!not-for-mail
From: roberto@keltia.freenix.fr (Ollivier Robert)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Possible FAQ Question
Date: 29 Nov 1995 16:10:39 GMT
Organization: Herve Schauer Consultants
Lines: 17
Message-ID: <49i0m0$39d@sidhe.iea.org>
References: <DIqKqA.5G8@ritz.mordor.com>
Reply-To: roberto@hsc.fr.net (Ollivier Robert)
NNTP-Posting-Host: sidhe.iea.org
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit

In article <DIqKqA.5G8@ritz.mordor.com>,
Chris Mauritz <ritz@ritz.mordor.com> wrote:
> When one does a "make world" is there a way to include a couple
> of standard CFLAGS for all the makefiles?  Specifically, I'd like
> to -O3 -m486 everything as the machine is a P100.  Firstly, is
> there a way to do this?  Secondly, is there any reason why I should
> NOT do this?

Look into /etc/make.conf for the setting of CFLAGS. 

If you  use -O2 or higher,  don't forget to include -fno-strength-reduce in
order to avoid a gcc bug (still in 2.7.1 BTW). 

[ Cc:'ed to Chris ]
-- 
Ollivier ROBERT  -=-=-  FreeBSD 2.x FAQ maintainer -=-=-  roberto@freebsd.org
-=-=-=-=-=- Support The Free UNIX Systems !  FreeBSD Linux NetBSD -=-=-=-=-=-