Merging r258729:
[oota-llvm.git] / lib / Support / Makefile
index 4a2185d589e51df2d2393d4517d98809d1e57308..39426aaaaceef8065f94357bc45f4c2603f18293 100644 (file)
@@ -17,3 +17,7 @@ include $(LEVEL)/Makefile.common
 
 CompileCommonOpts := $(filter-out -pedantic,$(CompileCommonOpts))
 CompileCommonOpts := $(filter-out -Wno-long-long,$(CompileCommonOpts))
+
+ifdef LLVM_VERSION_INFO
+CompileCommonOpts += -DLLVM_VERSION_INFO='"$(LLVM_VERSION_INFO)"'
+endif