Date: Mon, 18 Jan 1999 20:12:57 -0800 (PST) From: Alex Zepeda <garbanzo@hooked.net> To: Joseph Koshy <jkoshy@FreeBSD.ORG> Cc: Sheldon Hearn <axl@iafrica.com>, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: ports/audio/mpg123/patches patch-aa Message-ID: <Pine.BSF.4.05.9901182010350.2260-100000@zippy.dyn.ml.org> In-Reply-To: <199901190404.UAA06099@hub.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 18 Jan 1999, Joseph Koshy wrote: > By moving CFLAGS to the end we can handle this simple case, but the > approach doesn't go very far. You can't always turn off an option that > came earlier on the command line. Like what? -ffoo can usually be turned off with -fnofoo. The only thing that immediately comes to mind is setjmp/longjmp exceptions. Why not test to see if the user has already set CFLAGS/CC (and C++ counterparts), and warn them if they have, but still use them. (CC ?= cc , etc, etc). > Some ports really need the best optimization that the compiler can > offer (-O6) and and the default optimization in /etc/make.conf will > probably be too low for these. Cranking up the -O levels in the > /etc/make.conf will however cause the system to display > ``interesting'' symptoms after the next `make world'. > > For these and other reasons IMHO the scope of `customizability' via CFLAGS > and its ilk shouldn't be too large. Folks should be required to edit > Makefiles if they want sophisticated stuff :). - alex | "Contrary to popular belief, penguins are not the salvation of modern | | technology. Neither do they throw parties for the urban proletariat." | | Powered by FreeBSD http://www.freebsd.org/ | To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" 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.05.9901182010350.2260-100000>