Skip to content

Commit 4b0e133

Browse files
committed
configure: force clang when on freebsd.
1 parent c44c9a4 commit 4b0e133

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

configure

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -432,6 +432,15 @@ then
432432
fi
433433
fi
434434

435+
# Force freebsd to build with clang; gcc doesn't like us there
436+
if [ $CFG_OSTYPE = unknown-freebsd ]
437+
then
438+
step_msg "on FreeBSD, forcing use of clang"
439+
CFG_ENABLE_CLANG=1
440+
putvar CFG_ENABLE_CLANG
441+
fi
442+
443+
435444
if [ -z "$CFG_ENABLE_CLANG" -a -z "$CFG_GCC" ]
436445
then
437446
err "either clang or gcc is required"

0 commit comments

Comments
 (0)