Skip to content

Commit

Permalink
Use clang17 for FreeBSD
Browse files Browse the repository at this point in the history
  • Loading branch information
junderw committed Oct 15, 2024
1 parent 055aba1 commit ae2e9b5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions start
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ case "$(uname -s)" in
FreeBSD)
OS=FreeBSD
NPROC=$(sysctl -n hw.ncpu)
export CC=/usr/local/bin/clang17
export CXX=/usr/local/bin/clang++17
export CPP=/usr/local/bin/clang-cpp17
export RUSTFLAGS="-C linker=clang17"
;;
Darwin)
OS=Darwin
Expand Down

0 comments on commit ae2e9b5

Please sign in to comment.