Date: Sun, 14 Jul 2019 20:59:03 -0400 From: Robert Huff <roberthuff@rcn.com> To: Polytropon <freebsd@edvax.de> Cc: hw <hw@adminart.net>, freebsd-questions@freebsd.org Subject: Re: What does it mean to use ports? Message-ID: <23851.53207.561626.837532@jerusalem.litteratus.org> In-Reply-To: <20190715021053.2f82c84c.freebsd@edvax.de> References: <87o91wqjl5.fsf@toy.adminart.net> <20190715021053.2f82c84c.freebsd@edvax.de>
next in thread | previous in thread | raw e-mail | index | archive | help
Polytropon writes: > > Can I globally set compile options like -march=native (or > > whatever the equivalent for FreeBSD is)? > > The file /etc/make.conf can be used for that. See "man 5 make.conf" > for details. Verbum sapienti: be careful when you do this. The settings in make.conf are used for _every_ compilation on the system - ports ... and world ... and the kernel, I am still trying to find an exposition of the logic that prevents a "/etc/ports.conf" as a sibling to "/etc/src.conf" and make.conf. Respectfully, Robert Huff
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?23851.53207.561626.837532>