[SVN-Commit] r1165 - trunk/Mk
svn-freebsd-gecko at chruetertee.ch
svn-freebsd-gecko at chruetertee.ch
Sat Feb 9 05:42:35 UTC 2013
Author: jbeich
Date: Sat Feb 9 05:42:28 2013
New Revision: 1165
Log:
oops, don't use clang if it's not available
Modified:
trunk/Mk/bsd.gecko.mk
Modified: trunk/Mk/bsd.gecko.mk
==============================================================================
--- trunk/Mk/bsd.gecko.mk Sat Feb 9 04:44:25 2013 (r1164)
+++ trunk/Mk/bsd.gecko.mk Sat Feb 9 05:42:28 2013 (r1165)
@@ -564,8 +564,8 @@
. if ${CPP} == "cpp"
. if exists(/usr/bin/clang-cpp) || exists(${LOCALBASE}/bin/clang-cpp)
CPP= clang-cpp
-. else
-CPP= clang -E
+. elif ${CC} != "cc"
+CPP= ${CC} -E
. endif
. endif
# fallback to gcc otherwise
More information about the freebsd-gecko
mailing list