diff --git a/make.conf/00common b/make.conf/00common index 25c4332..ff6f832 100644 --- a/make.conf/00common +++ b/make.conf/00common @@ -1,3 +1,5 @@ +RUSTFLAGS="-C target-cpu=native -C opt-level=3 -C lto=thin -C linker=clang -C link-arg=-fuse-ld=mold" + PORTAGE_STRIP_FLAGS="--strip-unneeded -N __gentoo_check_ldflags__ -R .GCC.command.line" # clang llvm-libunwind diff --git a/package.use/chromium b/package.use/chromium index 7690c90..81a9c2a 100644 --- a/package.use/chromium +++ b/package.use/chromium @@ -2,4 +2,4 @@ sys-libs/zlib minizip net-libs/nodejs inspector -www-client/chromium custom-cflags qt6 +www-client/chromium custom-cflags lto qt6