From aac415d1fa6f24edaeda8f7ea1b930f695d8d09f Mon Sep 17 00:00:00 2001 From: "mr. M" Date: Sat, 4 Jan 2025 19:33:21 +0100 Subject: [PATCH] Update RUSTFLAGS in mozconfig for Windows to simplify linker arguments --- configs/windows/mozconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/windows/mozconfig b/configs/windows/mozconfig index b7a57bbcb..d2e82e742 100644 --- a/configs/windows/mozconfig +++ b/configs/windows/mozconfig @@ -36,7 +36,7 @@ if test "$SURFER_COMPAT" = "x86_64"; then export CPPFLAGS="-O3 -Qvec -w" export CXXFLAGS="-O3 -Qvec -w" export LDFLAGS="-Wl,-O3" - export RUSTFLAGS="-Clink-args=--icf=safe -C codegen-units=1 -Ctarget-cpu=x86-64" + export RUSTFLAGS="-Clink-args=--icf=safe" elif test "$SURFER_COMPAT" = "aarch64"; then ac_add_options --target=aarch64-pc-windows-msvc ac_add_options --enable-eme=widevine