Author: jbeich
Date: Sat Feb  9 05:52:56 2013
New Revision: 1166

Log:
nesting makes cpp block hard to read

Modified:
   trunk/Mk/bsd.gecko.mk

Modified: trunk/Mk/bsd.gecko.mk
==============================================================================
--- trunk/Mk/bsd.gecko.mk       Sat Feb  9 05:42:28 2013        (r1165)
+++ trunk/Mk/bsd.gecko.mk       Sat Feb  9 05:52:56 2013        (r1166)
@@ -561,12 +561,12 @@
   exists(${LOCALBASE}/bin/clang++))
 CXX=                   clang++
 . endif
-. if ${CPP} == "cpp"
-.  if exists(/usr/bin/clang-cpp) || exists(${LOCALBASE}/bin/clang-cpp)
+. if ${CPP} == "cpp" && (exists(/usr/bin/clang-cpp) || \
+  exists(${LOCALBASE}/bin/clang-cpp))
 CPP=                   clang-cpp
-.  elif ${CC} != "cc"
+. endif
+. if ${CC} != "cc" && ${CPP} == "cpp"
 CPP=                   ${CC} -E
-.  endif
 . endif
 # fallback to gcc otherwise
 . if ${CC} == "cc" || ${CXX} == "c++"
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-gecko
To unsubscribe, send any mail to "[email protected]"

Reply via email to