Ver Fonte

update the build script to support LLVM > 9

Patrick Kettner há 7 anos atrás
pai
commit
6ed4bab072
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      build.sh

+ 1 - 1
build.sh

@@ -546,7 +546,7 @@ else
 fi
 fi
 
 
 # check clang version (min required 3.7)
 # check clang version (min required 3.7)
-VERSION=$($CLANG_PATH --version | grep "version [0-9]*\.[0-9]*" --o -i | grep "[0-9]\.[0-9]*" --o)
+VERSION=$($CLANG_PATH --version | grep "version [0-9]*\.[0-9]*" --o -i | grep "[0-9]*\.[0-9]*" --o)
 VERSION=${VERSION/./}
 VERSION=${VERSION/./}
 
 
 if [[ $VERSION -lt 37 ]]; then
 if [[ $VERSION -lt 37 ]]; then