about summary refs log tree commit diff homepage
path: root/scripts/build/common-functions
diff options
context:
space:
mode:
authorMartin Nowack <m.nowack@imperial.ac.uk>2018-11-07 16:39:05 +0000
committerCristian Cadar <c.cadar@imperial.ac.uk>2018-11-11 15:25:43 +0000
commit92b49c62b796e4c2544fc2415d9817068aed6eae (patch)
tree6b6da8696b5aa451780f9bebad6fce21d0b4c503 /scripts/build/common-functions
parentb49891900fe34a4d584c84fb33c9a71eacd2b767 (diff)
downloadklee-92b49c62b796e4c2544fc2415d9817068aed6eae.tar.gz
Use LLVM 4 for Mac Build
Diffstat (limited to 'scripts/build/common-functions')
-rw-r--r--scripts/build/common-functions1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/build/common-functions b/scripts/build/common-functions
index 45c94fef..499b51b7 100644
--- a/scripts/build/common-functions
+++ b/scripts/build/common-functions
@@ -112,6 +112,7 @@ done
 # that need to retrieve llvm-specifi variables
 
 LLVM_VERSION_SHORT="${LLVM_VERSION/./}"
+LLVM_VERSION_MAJOR="${LLVM_VERSION/.*/}"
 LLVM_SUFFIX=""
 
 BuildMode=''