X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=lib%2FSupport%2FMakefile;h=39426aaaaceef8065f94357bc45f4c2603f18293;hb=be63d589633bbfa068b923c60eaaeee1b27647c5;hp=4a2185d589e51df2d2393d4517d98809d1e57308;hpb=475832cc0fbf622dfe1db484c2db57cc2d97a530;p=oota-llvm.git diff --git a/lib/Support/Makefile b/lib/Support/Makefile index 4a2185d589e..39426aaaace 100644 --- a/lib/Support/Makefile +++ b/lib/Support/Makefile @@ -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