src.conf(5) status/semantics
Alexander Best
arundel at freebsd.org
Mon Mar 28 22:03:43 UTC 2011
hi there,
how hard would it be to change the *.mk code so the following semantics apply:
- make.conf(5) == applies system-wide
- src.conf(5) == applies only to /usr/src
right now certain settings will not be picked up from src.conf(5), like CC or
CXX. it seems src.conf(5)'s puspose atm is limited to setting WITHOUT_*
options.
as can be noticed in several questions on current@, toolchain@ and questions@,
the current behavior is non-intuitive. a lot of users don't understand why
certain settings inside /etc/src.conf don't get picked up when building a
target such as buildkernel or buildworld. expecially in connection with
switching to clang and clang++ confusion has been noticable more than once.
cheers.
alex
--
a13x
More information about the freebsd-hackers
mailing list