Skip to content

Commit 080b2e0

Browse files
committed
Detect clang35 on FreeBSD.
clang-3.5 is required to build correctly, but is not detected on FreeBSD where it is aliased as clang35 and clang++35, not clang-3.5 and clang++-3.5. This closes https://github.com/dotnet/coreclr/issues/615
1 parent 9404836 commit 080b2e0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/pal/tools/setup-compiler-clang.sh

+4
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ if which clang-3.5 > /dev/null 2>&1
77
then
88
export CC="$(which clang-3.5)"
99
export CXX="$(which clang++-3.5)"
10+
elif which clang35 > /dev/null 2>&1
11+
then
12+
export CC="$(which clang35)"
13+
export CXX="$(which clang++35)"
1014
elif which clang > /dev/null 2>&1
1115
then
1216
export CC="$(which clang)"

0 commit comments

Comments
 (0)