]> granicus.if.org Git - clang/commitdiff
Revert unintentional commit.
authorEli Friedman <eli.friedman@gmail.com>
Tue, 28 Jun 2011 00:03:31 +0000 (00:03 +0000)
committerEli Friedman <eli.friedman@gmail.com>
Tue, 28 Jun 2011 00:03:31 +0000 (00:03 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@133971 91177308-0d34-0410-b5e6-96231b3b80d8

tools/driver/Makefile

index 00fb3500c7ca002c5af7e5803d52f1b023fc4882..1ba8bc24d1fb1df12ff5af17449eea70e7014949 100644 (file)
@@ -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 @@ endif
 # 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