OSDN Git Service
(root)
/
android-x86
/
external-mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
78c9201
)
configure.ac: Fix build with git-svn llvm version string
author
Tom Stellard
<thomas.stellard@amd.com>
Tue, 9 Sep 2014 11:04:20 +0000
(07:04 -0400)
committer
Tom Stellard
<thomas.stellard@amd.com>
Tue, 9 Sep 2014 13:47:25 +0000
(09:47 -0400)
Reviewed-and-tested-by: Jan Vesely <jan.vesely@rutgers.edu>
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index
be85fd5
..
176c220
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-1687,7
+1687,7
@@
if test "x$enable_gallium_llvm" = xyes; then
fi
if test "x$LLVM_CONFIG" != xno; then
- LLVM_VERSION=`$LLVM_CONFIG --version |
sed 's/svn.*//g
'`
+ LLVM_VERSION=`$LLVM_CONFIG --version |
grep -o '^[[0-9.]]\+
'`
LLVM_LDFLAGS=`$LLVM_CONFIG --ldflags`
LLVM_BINDIR=`$LLVM_CONFIG --bindir`
LLVM_CPPFLAGS=`strip_unwanted_llvm_flags "$LLVM_CONFIG --cppflags"`