summaryrefslogtreecommitdiffstats
path: root/share/mk
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2014-07-10 21:11:48 +0000
committerimp <imp@FreeBSD.org>2014-07-10 21:11:48 +0000
commitd284902e1150565feea2878bd56b6a4080a7aad9 (patch)
tree46090c7fe45a36451e68f46dba2c391689aa3ec5 /share/mk
parent99b5ccae7ca41a5f7e0999be7e2020ead11b5c37 (diff)
downloadFreeBSD-src-d284902e1150565feea2878bd56b6a4080a7aad9.zip
FreeBSD-src-d284902e1150565feea2878bd56b6a4080a7aad9.tar.gz
Make MK_GNUCXX mean "build the libstdc++ and libsupc++ libraries" and
nothing more. Force it to be "no" when MK_CXX is "no" to simplify usage. It no longer also means "build g++" since we no longer have a platform where that's interesting now that pc98 no longer needs clang and gcc, but not g++. pc98 now just uses clang after boot2 changes.
Diffstat (limited to 'share/mk')
-rw-r--r--share/mk/src.opts.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/share/mk/src.opts.mk b/share/mk/src.opts.mk
index f740116..d9d3fef 100644
--- a/share/mk/src.opts.mk
+++ b/share/mk/src.opts.mk
@@ -205,11 +205,11 @@ __DEFAULT_NO_OPTIONS+=CLANG CLANG_FULL CLANG_BOOTSTRAP
.if ${__T} == "amd64" || ${__T} == "arm" || ${__T} == "armv6" || \
${__T} == "armv6hf" || ${__T} == "i386"
__DEFAULT_YES_OPTIONS+=CLANG_IS_CC
-__DEFAULT_NO_OPTIONS+=GNUCXX GCC GCC_BOOTSTRAP
+__DEFAULT_NO_OPTIONS+=GCC GCC_BOOTSTRAP GNUCXX
.else
# If clang is not cc, then build gcc by default
__DEFAULT_NO_OPTIONS+=CLANG_IS_CC CLANG CLANG_BOOTSTRAP
-__DEFAULT_YES_OPTIONS+=GCC GNUCXX GCC_BOOTSTRAP
+__DEFAULT_YES_OPTIONS+=GCC GCC_BOOTSTRAP GNUCXX
.endif
.include <bsd.mkopt.mk>
@@ -269,6 +269,7 @@ MK_KERBEROS:= no
.if ${MK_CXX} == "no"
MK_CLANG:= no
MK_GROFF:= no
+MK_GNUCXX:= no
.endif
.if ${MK_MAIL} == "no"
OpenPOWER on IntegriCloud