[SVN-Commit] r1164 - trunk/Mk

svn-freebsd-gecko at chruetertee.ch svn-freebsd-gecko at chruetertee.ch
Sat Feb 9 04:44:32 UTC 2013


Author: jbeich
Date: Sat Feb  9 04:44:25 2013
New Revision: 1164

Log:
also set CPP needed by CSS2Properties.webidl

Modified:
   trunk/Mk/bsd.gecko.mk

Modified: trunk/Mk/bsd.gecko.mk
==============================================================================
--- trunk/Mk/bsd.gecko.mk	Sat Feb  9 04:32:38 2013	(r1163)
+++ trunk/Mk/bsd.gecko.mk	Sat Feb  9 04:44:25 2013	(r1164)
@@ -561,6 +561,13 @@
   exists(${LOCALBASE}/bin/clang++))
 CXX=			clang++
 . endif
+. if ${CPP} == "cpp"
+.  if exists(/usr/bin/clang-cpp) || exists(${LOCALBASE}/bin/clang-cpp)
+CPP=			clang-cpp
+.  else
+CPP=			clang -E
+.  endif
+. endif
 # fallback to gcc otherwise
 . if ${CC} == "cc" || ${CXX} == "c++"
 USE_GCC?=		yes


More information about the freebsd-gecko mailing list