Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Mar 2011 22:03:43 +0000
From:      Alexander Best <arundel@freebsd.org>
To:        freebsd-hackers@freebsd.org
Subject:   src.conf(5) status/semantics
Message-ID:  <20110328220343.GA44745@freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110328220343.GA44745>