diff --git a/configure.ac b/configure.ac index cb6c1559bd..4cbbe7249f 100644 --- a/configure.ac +++ b/configure.ac @@ -487,7 +487,7 @@ [ AS_IF([test "$CLANG" != no], [ - llc_candidates=$($CLANG --version | \ + llc_candidates=$($CLANG --version | sed -e 's/.*clang version/clang version/' | \ awk '/^clang version/ { split($3, v, "."); printf("llc-%s.%s llc-%s llc", v[[1]], v[[2]], v[[1]])