From 25bb2cddc0d899c3242658abe5059fe1feeb9b06 Mon Sep 17 00:00:00 2001 From: Moritz Gmeiner Date: Thu, 27 Jul 2023 13:02:17 +0200 Subject: [PATCH] reworked RUSTFLAGS again to use clang+mold as linker, but removed the other flags --- make.conf/00common | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make.conf/00common b/make.conf/00common index 15f8bd5..d647ca3 100644 --- a/make.conf/00common +++ b/make.conf/00common @@ -5,7 +5,7 @@ CXXFLAGS="${COMMON_FLAGS}" FCFLAGS="${COMMON_FLAGS}" FFLAGS="${COMMON_FLAGS}" -RUSTFLAGS="-C target-cpu=native -C opt-level=3 -C debuginfo=0 -C debug-assertions=false -C overflow-checks=false -C panic=unwind -C link-arg=-fuse-ld=mold" +RUSTFLAGS="-C target-cpu=native -C opt-level=3 -C linker=clang -C link-arg=-fuse-ld=mold" CC="clang" CXX="clang++"