From c55607bc44a2502e73dd51bb263039098bcf6002 Mon Sep 17 00:00:00 2001 From: inference Date: Sat, 14 Oct 2023 19:42:41 +0100 Subject: [PATCH] Remove Rust LTO argument Forcing LTO on Rust compilation causes build failures with some packages. --- aa000-0/portage/make.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aa000-0/portage/make.conf b/aa000-0/portage/make.conf index 041f9cf..dec7a00 100644 --- a/aa000-0/portage/make.conf +++ b/aa000-0/portage/make.conf @@ -4,7 +4,7 @@ # Copyright 2022 Jake Winters # SPDX-License-Identifier: BSD-3-Clause -# Version: 16.0.0-alpha.5+49 +# Version: 16.0.0-alpha.6+50 # System @@ -41,7 +41,7 @@ LD_SEC="-Wl,-z,defs -Wl,-z,now -Wl,-z,relro" ## Compiler flags CFLAGS="-flto=thin -march=znver3 -mtune=znver3 -O2 -pipe ${C_SEC}" CXXFLAGS="-flto=thin -march=znver3 -mtune=znver3 -O2 -pipe ${C_SEC}" -RUSTFLAGS="-C debuginfo=0 -C embed-bitcode=y -C lto -C opt-level=2 -C target-cpu=znver3" +RUSTFLAGS="-C debuginfo=0 -C embed-bitcode=y -C opt-level=2 -C target-cpu=znver3" ## Linker flags LDFLAGS="-Wl,-O2 -Wl,--strip-all -Wl,--thinlto-jobs=4 ${LD_SEC}" ## USE flags