Skip to content
This repository was archived by the owner on Apr 13, 2024. It is now read-only.

Commit a96d5de

Browse files
Merge pull request #134 from nathanchance/ar-fix
driver: Fix check_ar_version with LLVM source builds
2 parents 1e8522c + 498ec6e commit a96d5de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

driver.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ check_dependencies() {
191191
# fall back to GNU ar and let them know.
192192
check_ar_version() {
193193
if ${AR} --version | grep -q "LLVM" && \
194-
[[ $(${AR} --version | grep version | sed -e 's/.*LLVM version //g' -e 's/[[:blank:]]*$//' -e 's/\.//g') -lt 900 ]]; then
194+
[[ $(${AR} --version | grep version | sed -e 's/.*LLVM version //g' -e 's/[[:blank:]]*$//' -e 's/\.//g' -e 's/svn//' ) -lt 900 ]]; then
195195
set +x
196196
echo
197197
echo "${AR} found but appears to be too old to build the kernel (needs to be at least 9.0.0)."

0 commit comments

Comments
 (0)