Skip to content

Commit

Permalink
Make scripts/configure support plain clang.
Browse files Browse the repository at this point in the history
  • Loading branch information
JanWielemaker committed Sep 3, 2024
1 parent 33d185b commit 098ef1a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion scripts/configure
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,15 @@ case $config in
export CC=gcc-$version
export CXX=g++-$version
;;
*clang-*)
*clang-[0-9]*)
version=$(echo $config | sed 's/.*clang-\([0-9]*\).*/\1/')
export CC=clang-$version
export CXX=clang++-$version
;;
*clang*)
export CC=clang
export CXX=clang++
;;
esac

# nogmp
Expand Down

0 comments on commit 098ef1a

Please sign in to comment.