/etc/make.conf flags for Intel
Bruce Evans
bde at zeta.org.au
Tue Oct 11 09:16:31 PDT 2005
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
More information about the freebsd-amd64
mailing list