Commit b6267e0f authored by Henrik Gramner's avatar Henrik Gramner
Browse files

configure: Fix clang detection with versioned binaries

Correctly detect clang binaries that has the version number appended
as a suffix to the file name, e.g. `clang38`.
parent 14a58532
......@@ -558,7 +558,7 @@ else
if [[ "$cc_base" = clang || "$cc_base" = clang[\ .]* ]]; then
if [[ "$cc_base" = clang* ]]; then
if cc_check '' -Werror=unknown-warning-option ; then
CHECK_CFLAGS="$CHECK_CFLAGS -Werror=unknown-warning-option"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment