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

