Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Mar 2000 16:48:11 +1100 (EST)
From:      Bruce Evans <bde@zeta.org.au>
To:        Kris Kennaway <kris@FreeBSD.ORG>
Cc:        current@FreeBSD.ORG
Subject:   Re: Optimisation patch
Message-ID:  <Pine.BSF.4.21.0003241632250.3942-100000@alphplex.bde.org>
In-Reply-To: <Pine.BSF.4.21.0003231533240.33462-100000@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 23 Mar 2000, Kris Kennaway wrote:

> Any objections to the following?
> 
> Index: make.conf
> ===================================================================
> RCS file: /home/ncvs/src/etc/defaults/make.conf,v
> retrieving revision 1.101
> diff -u -u -r1.101 make.conf
> --- make.conf	2000/03/22 00:49:20	1.101
> +++ make.conf	2000/03/23 23:33:13
> @@ -9,7 +9,13 @@
>  # You have to find the things you can put here in the Makefiles and 
>  # documentation of the source tree.
>  #
> -# One, and probably the most common, use could be:
> +# CFLAGS controls the compiler settings used when compiling C code.
> +# Note that optimisation settings above -O (-O2, ...) are not recommended
> +# or supported for compiling the world or the kernel - please revert any
> +# nonstandard optimisation settings to "-O" before submitting bug reports
> +# to the developers.
> +# Note also that at this time the -O2 setting is known to produce BROKEN
> +# CODE on the Alpha platform.
>  #
>  #CFLAGS= -O -pipe
>  #

Yes.  make.conf shouldn't even hint that globally changing CFLAGS is
supported or good.  Note that the suggested "most common use" has been
bogus since -pipe was added to the default settings in rev.1.31
(1998/05/01) of sys.mk.

Bruce



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" 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.0003241632250.3942-100000>