[Bug 203540] Mk/Uses/compiler.mk gets called automatically only on some platforms and not on others

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Oct 6 03:14:13 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203540

--- Comment #3 from Warner Losh <imp at FreeBSD.org> ---
We now use COMPILER_TYPE extensively in the build and in the other bsd.*.mk
files,
so it was moved out from under the _WITHOUT_SRCCONF define. In 10.x, we mostly
just used it to determine what to build. In current (and some MFC'd stuff) we
use it to add compiler flags and do conditional things based on what compiler
we're using. It is not a regression, but a new feature.

ports could adjust by undefining things after including bsd.own.mk. It's kinda
half using bsd.*.mk files and half not.

src could cope by renaming things. While this was in a release, it wasn't
documented in 10.x as a thing that could be used. Chances are good it's leaked
into downstream builds though.

It might also be possible to move where we include it, but then
COMPILER_FEATURES wouldn't be defined in bsd.srcopt.mk. This might actually be
the least intrusive way to fix it if I can get the depends right.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-ports-bugs mailing list