diff options
Diffstat (limited to 'lib/Support/Makefile')
-rw-r--r-- | lib/Support/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Support/Makefile b/lib/Support/Makefile index 4a2185d..39426aa 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 |