projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e9a2508
)
auto detect llvm version
author
Chris Li
<chrisl@vmware.com>
Mon, 22 Mar 2010 20:27:32 +0000
(13:27 -0700)
committer
Chris Li
<chrisl@vmt500.localdomain>
Fri, 26 Mar 2010 22:56:02 +0000
(15:56 -0700)
configs/linux-llvm
patch
|
blob
|
history
diff --git
a/configs/linux-llvm
b/configs/linux-llvm
index 608f42d6df017b22c7443c4be6e2288a23099000..3a15f1d6d8bab8c0cbe726bd2f8cb6249e783c67 100644
(file)
--- 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