summaryrefslogtreecommitdiffstats
path: root/Makefile.inc1
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2016-07-07 21:03:50 +0000
committerbdrewery <bdrewery@FreeBSD.org>2016-07-07 21:03:50 +0000
commit9dec485724add9fa0af594cc407589aecd115194 (patch)
treef041a63ab55edf9a65c59e4dbb0716843108cc31 /Makefile.inc1
parent694dd903a34021d3c78796fe5292cc4e0cd04650 (diff)
downloadFreeBSD-src-9dec485724add9fa0af594cc407589aecd115194.zip
FreeBSD-src-9dec485724add9fa0af594cc407589aecd115194.tar.gz
WITH_SYSTEM_COMPILER: Don't enable for xdev or native-xtools.
Otherwise they get no compiler. Reported by: swills Tested by: swills Approved by: re (gjb) Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'Makefile.inc1')
-rw-r--r--Makefile.inc12
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index ca84c60..f733032 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -82,7 +82,7 @@ MK_CROSS_COMPILER= no
# Check if there is a local compiler that can satisfy as an external compiler.
.if ${MK_SYSTEM_COMPILER} == "yes" && ${MK_CROSS_COMPILER} == "yes" && \
(${MK_CLANG_BOOTSTRAP} == "yes" || ${MK_GCC_BOOTSTRAP} == "yes") && \
- !make(showconfig)
+ !make(showconfig) && !make(native-xtools) && !make(xdev*)
# Which compiler is expected to be used?
.if ${MK_CLANG_BOOTSTRAP} == "yes"
_expected_compiler_type= clang
OpenPOWER on IntegriCloud