[cfe-commits] r133971 - /cfe/trunk/tools/driver/Makefile

Eli Friedman eli.friedman at gmail.com
Mon Jun 27 17:03:31 PDT 2011


Author: efriedma
Date: Mon Jun 27 19:03:31 2011
New Revision: 133971

URL: http://llvm.org/viewvc/llvm-project?rev=133971&view=rev
Log:
Revert unintentional commit.


Modified:
    cfe/trunk/tools/driver/Makefile

Modified: cfe/trunk/tools/driver/Makefile
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/driver/Makefile?rev=133971&r1=133970&r2=133971&view=diff
==============================================================================
--- cfe/trunk/tools/driver/Makefile (original)
+++ cfe/trunk/tools/driver/Makefile Mon Jun 27 19:03:31 2011
@@ -9,7 +9,13 @@
 CLANG_LEVEL := ../..
 
 TOOLNAME = clang
+ifndef CLANG_IS_PRODUCTION
 TOOLALIAS = clang++
+else
+  ifdef CLANGXX_IS_PRODUCTION
+    TOOLALIAS = clang++
+  endif
+endif
 
 # We don't currently expect production Clang builds to be interested in
 # plugins. This is important for startup performance.
@@ -66,5 +72,7 @@
 # Translate make variable to define when building a "production" clang.
 ifdef CLANG_IS_PRODUCTION
 CPP.Defines += -DCLANG_IS_PRODUCTION
+endif
+ifdef CLANGXX_IS_PRODUCTION
 CPP.Defines += -DCLANGXX_IS_PRODUCTION
 endif





More information about the cfe-commits mailing list