summaryrefslogtreecommitdiffstats
path: root/share/mk/src.opts.mk
diff options
context:
space:
mode:
Diffstat (limited to 'share/mk/src.opts.mk')
-rw-r--r--share/mk/src.opts.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/share/mk/src.opts.mk b/share/mk/src.opts.mk
index e3ef419..790a466 100644
--- a/share/mk/src.opts.mk
+++ b/share/mk/src.opts.mk
@@ -419,6 +419,9 @@ MK_LLDB:= no
# gcc 4.8 and newer supports libc++, so suppress gnuc++ in that case.
# while in theory we could build it with that, we don't want to do
# that since it creates too much confusion for too little gain.
+# XXX: This is incomplete and needs X_COMPILER_TYPE/VERSION checks too
+# to prevent Makefile.inc1 from bootstrapping unneeded dependencies
+# and to support 'make delete-old' when supplying an external toolchain.
.if ${COMPILER_TYPE} == "gcc" && ${COMPILER_VERSION} >= 40800
MK_GNUCXX:=no
MK_GCC:=no
OpenPOWER on IntegriCloud