Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Feb 2013 05:42:28 GMT
From:      svn-freebsd-gecko@chruetertee.ch
To:        freebsd-gecko@freebsd.org
Subject:   [SVN-Commit] r1165 - trunk/Mk
Message-ID:  <201302090542.r195gSw9017303@trillian.chruetertee.ch>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201302090542.r195gSw9017303>