From ae2e9b56513f77e1c67be7494ba570c539fe17d0 Mon Sep 17 00:00:00 2001 From: junderw Date: Tue, 15 Oct 2024 19:46:14 +0900 Subject: [PATCH] Use clang17 for FreeBSD --- start | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/start b/start index 7e5cd80f..ab9d68fb 100755 --- a/start +++ b/start @@ -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