Date: Sun, 8 Dec 1996 07:16:51 +1100 From: Bruce Evans <bde@zeta.org.au> To: peter@spinner.dialix.com, wollman@lcs.mit.edu Cc: bde@zeta.org.au, cvs-all@freefall.freebsd.org, CVS-committers@freefall.freebsd.org, cvs-sys@freefall.freebsd.org, dyson@freebsd.org, toor@dyson.iquest.net Subject: Re: cvs commit: src/sys/i386/include endian.h Message-ID: <199612072016.HAA02514@godzilla.zeta.org.au>
next in thread | raw e-mail | index | archive | help
>> I would also like to see all "unrecognised" options go into opt_global.h >I believe that this is a really, really bad idea. Sometimes, it is >necessary to create an option with the specific intent that the >programmer will be able to enable/disable it on a file-by-file basis >by tweaking the Makefile and/or compiler command line. DIAGNOSTIC is >the prime example of this sort of option---most of the time you >/don't/ want it to be on in a part of the kernel other than what >you're working on, and you'll probably do something like `make CC="cc >-DDIAGNOSTIC"' to ensure that this is so. This would still work because DIAGNOSTIC would be not be "unrecognised" if it is not configured. Turning off options that are usually on is harder. Bruce
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199612072016.HAA02514>
