[llvm-commits] [129933] Restore llvm version info.

echeng at apple.com echeng at apple.com
Thu Jul 26 11:52:21 PDT 2007


Revision: 129933
Author:   echeng
Date:     2007-07-26 11:52:21 -0700 (Thu, 26 Jul 2007)

Log Message:
-----------
Restore llvm version info.

Modified Paths:
--------------
    apple-local/branches/llvm/gcc/Makefile.in

Modified: apple-local/branches/llvm/gcc/Makefile.in
===================================================================
--- apple-local/branches/llvm/gcc/Makefile.in	2007-07-26 18:36:42 UTC (rev 129932)
+++ apple-local/branches/llvm/gcc/Makefile.in	2007-07-26 18:52:21 UTC (rev 129933)
@@ -218,10 +218,6 @@
 @checkingenabled_flag@
 LLVMOBJDIR = @LLVMBASEPATH@
 
-ifdef LLVM_VERSION_INFO
-CPPFLAGS += -DLLVM_VERSION_INFO='"$(LLVM_VERSION_INFO)"'
-endif
-
 # Determine BUILDMODE from configure run (--enable-llvm)
 BUILDMODE := @LLVMBUILDMODE@
 
@@ -236,6 +232,10 @@
 # srcdir != objdir builds.
 LLVMSRCDIR := $(shell $(LLVMBINPATH)/llvm-config --src-root)
 endif
+
+ifdef LLVM_VERSION_INFO
+CPPFLAGS += -DLLVM_VERSION_INFO='"$(LLVM_VERSION_INFO)"'
+endif
 # APPLE LOCAL end LLVM
 
 # These exists to be overridden by the x-* and t-* files, respectively.





More information about the llvm-commits mailing list