From e5c554f947627477c03035af3ec00b90474ca12a Mon Sep 17 00:00:00 2001 From: "mr. M" Date: Sun, 22 Dec 2024 11:23:01 +0100 Subject: [PATCH] Remove LTO flag from CXXFLAGS in mozconfig for optimized build configuration --- configs/linux/mozconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/linux/mozconfig b/configs/linux/mozconfig index 8f7117c06..650453ff9 100644 --- a/configs/linux/mozconfig +++ b/configs/linux/mozconfig @@ -67,7 +67,7 @@ elif test "$ZEN_RELEASE"; then export CFLAGS="$CFLAGS -O3 -ffp-contract=fast -march=x86-64-v3 -msse3 -mssse3 -msse4.1 -msse4.2 -mavx -mavx2 -mfma -maes -mpopcnt -mpclmul" export CPPFLAGS="$CPPFLAGS -O3 -ffp-contract=fast -march=x86-64-v3 -msse3 -mssse3 -msse4.1 -msse4.2 -mavx -mavx2 -mfma -maes -mpopcnt -mpclmul" - export CXXFLAGS="$CXXFLAGS -O3 -flto=thin -ffp-contract=fast -march=x86-64-v3 -msse3 -mssse3 -msse4.1 -msse4.2 -mavx -mavx2 -mfma -maes -mpopcnt -mpclmul" + export CXXFLAGS="$CXXFLAGS -O3 -ffp-contract=fast -march=x86-64-v3 -msse3 -mssse3 -msse4.1 -msse4.2 -mavx -mavx2 -mfma -maes -mpopcnt -mpclmul" export LDFLAGS="$LDFLAGS -Wl,-O3 -Wl,-mllvm,-fp-contract=fast -march=x86-64-v3" export RUSTFLAGS="$RUSTFLAGS -C target-cpu=x86-64-v3 -C target-feature=+sse4.1 -C target-feature=+avx2 -C codegen-units=1 -Clink-args=--icf=safe" fi