Date: Wed, 12 Oct 2005 02:16:28 +1000 (EST) From: Bruce Evans <bde@zeta.org.au> To: Claus Guttesen <kometen@gmail.com> Cc: freebsd-amd64@freebsd.org, Kris Kennaway <kris@obsecurity.org> Subject: Re: /etc/make.conf flags for Intel Message-ID: <20051012020021.Q71554@delplex.bde.org> In-Reply-To: <b41c75520510110100v128eabe4m@mail.gmail.com> References: <BF6ED99E.2166%webmaster@machowto.com> <b41c75520510091438p11ac250am@mail.gmail.com> <20051010072456.GA52280@xor.obsecurity.org> <b41c75520510100046t17d1bd10m@mail.gmail.com> <20051010174358.GA34176@xor.obsecurity.org> <20051011090639.K69382@delplex.bde.org> <b41c75520510110100v128eabe4m@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 11 Oct 2005, Claus Guttesen wrote: >>>> /usr/share/examples/etc/make.conf is set to -O. >>> >>> The setting in <sys.mk> trumps this documentation file, but you're >>> right, this should be updated there. Could you please send a PR? >> >> The example is correct. It shows how to change the default of "-O2 >> -fstrict-aliasing -pipe" to "-O -pipe". It would be less than useful >> to repeat the default in the examples or in /etc/make.conf. ... > > So what your saying is that one should not override these values in > make.conf but leave them commented out? Doing a buildworld without > CFLAGS does indeed compile using -O2: - Normally leave them out of the installed make.conf. - Leave them commented out in examples/etc/make.conf. - Add comments to examples/etc/make.conf to emphasize that they are only examples and that use of some of them, especially CFLAGS, is problematic. Bruce
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051012020021.Q71554>