Skip to content

Commit

Permalink
Merge pull request #106 from mempool/junderw/fuck-c
Browse files Browse the repository at this point in the history
Use clang17 for FreeBSD
  • Loading branch information
wiz authored Oct 15, 2024
2 parents 055aba1 + ae2e9b5 commit d51addb
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 d51addb

Please sign in to comment.