From: Ben Gras Date: Tue, 25 Nov 2014 17:15:45 +0000 (+0000) Subject: Fix for TOOL_CPP X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/zpipe.c?a=commitdiff_plain;h=7f59afadd57c8d44ede07f1e6ca4db62642c2bf2;p=minix.git Fix for TOOL_CPP . needed for xorg build from /usr/xsrc Change-Id: I632c9d09d4cfecfbf454820551f6d618ac4f4ebe --- 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