]> Zhao Yanbai Git Server - minix.git/commitdiff
Fix for TOOL_CPP 02/2902/2
authorBen Gras <ben@minix3.org>
Tue, 25 Nov 2014 17:15:45 +0000 (17:15 +0000)
committerGerrit Code Review <gerrit@localhost>
Fri, 28 Nov 2014 12:22:52 +0000 (07:22 -0500)
. needed for xorg build from /usr/xsrc

Change-Id: I632c9d09d4cfecfbf454820551f6d618ac4f4ebe

share/mk/bsd.own.mk

index 0ce79e574106e7178ab3c53436e08fd8244ce3f5..95bbf8d01919fe2dcb23a7f05c6d32ec190e2508 100644 (file)
@@ -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