diff options
author | Chris Li <chrisl@vmware.com> | 2010-03-22 13:27:32 -0700 |
---|---|---|
committer | Chris Li <chrisl@vmt500.localdomain> | 2010-03-26 15:56:02 -0700 |
commit | d4b103e031b7647012733641b8a31c19b8b852fb (patch) | |
tree | a2c2153b78f6cb1ebdcb39a0155e8b851cc874fa /configs | |
parent | e9a25089f92e0cce6f72ba5e1a6c2036825290d5 (diff) |
auto detect llvm version
Diffstat (limited to 'configs')
-rw-r--r-- | configs/linux-llvm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/configs/linux-llvm b/configs/linux-llvm index 608f42d6df..3a15f1d6d8 100644 --- a/configs/linux-llvm +++ b/configs/linux-llvm @@ -24,6 +24,8 @@ ifeq ($(LLVM_VERSION),) MESA_LLVM=0 else MESA_LLVM=1 + HAVE_LLVM := 0x0$(subst .,0,$(LLVM_VERSION:svn=)) + DEFINES += -DHAVE_LLVM=$(HAVE_LLVM) # $(info Using LLVM version: $(LLVM_VERSION)) endif |