We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ddccf5 commit cb5219fCopy full SHA for cb5219f
configure
@@ -82,7 +82,7 @@ check_toolchain()
82
83
ARCH_NAME=$($CC -print-multiarch 2>/dev/null)
84
85
- clang_version=$($CLANG --version | grep -Po '(?<=clang version )[[:digit:]]+')
+ clang_version=$($CLANG --version | sed -nE 's/.*clang version ([[:digit:]]+).*/\1/p')
86
if [ "$?" -ne "0" ]; then
87
echo "*** ERROR: Couldn't execute '$CLANG --version'"
88
exit 1
0 commit comments