changed kernel to clang compiler

This commit is contained in:
Moritz Gmeiner 2023-07-29 16:26:55 +02:00
commit 43e7dd2783
3 changed files with 6 additions and 2 deletions

View file

@ -7,6 +7,10 @@ FFLAGS="${COMMON_FLAGS}"
RUSTFLAGS="-C target-cpu=native -C opt-level=3 -C linker=clang -C link-arg=-fuse-ld=mold"
# don't strip comment section of binaries
# assumes STRIP will be gnu-strip
PORTAGE_STRIP_FLAGS="--strip-unneeded -N __gentoo_check_ldflags__ -R .GCC.command.line -R .note.gnu.gold-version"
CC="clang"
CXX="clang++"
AR="llvm-ar"