From 7f59afadd57c8d44ede07f1e6ca4db62642c2bf2 Mon Sep 17 00:00:00 2001 From: Ben Gras Date: Tue, 25 Nov 2014 17:15:45 +0000 Subject: [PATCH] Fix for TOOL_CPP . needed for xorg build from /usr/xsrc Change-Id: I632c9d09d4cfecfbf454820551f6d618ac4f4ebe --- share/mk/bsd.own.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/share/mk/bsd.own.mk b/share/mk/bsd.own.mk index 0ce79e574..95bbf8d01 100644 --- a/share/mk/bsd.own.mk +++ b/share/mk/bsd.own.mk @@ -546,7 +546,11 @@ TOOL_ZIC= ${TOOLDIR}/bin/${_TOOL_PREFIX}zic # Clang supports C, C++ and Objective C TOOL_CC.clang= clang +.if defined(__MINIX) +TOOL_CPP.clang= clang -E +.else TOOL_CPP.clang= clang-cpp +.endif # defined(__MINIX) TOOL_CXX.clang= clang++ TOOL_OBJC.clang= clang TOOL_OPT.clang= opt