Date: Tue, 06 Oct 2015 03:14:13 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 203540] Mk/Uses/compiler.mk gets called automatically only on some platforms and not on others Message-ID: <bug-203540-13-1fzbsGGaCM@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-203540-13@https.bugs.freebsd.org/bugzilla/> References: <bug-203540-13@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203540 --- Comment #3 from Warner Losh <imp@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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-203540-13-1fzbsGGaCM>