about summary refs log tree commit diff homepage
path: root/scripts/build/common-functions
diff options
context:
space:
mode:
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=''