diff --git a/extra/firefox/PKGBUILD b/extra/firefox/PKGBUILD index db3f8bc97..ee79a4c92 100644 --- a/extra/firefox/PKGBUILD +++ b/extra/firefox/PKGBUILD @@ -5,6 +5,7 @@ # ALARM: Kevin Mihelich # - mozconfig changes for ARM # - revert change for clang that breaks gcc build on ARM +# - disable rust lto for v7 buildarch=12 highmem=1 @@ -111,6 +112,7 @@ END # https://bugzilla.redhat.com/show_bug.cgi?id=1641623 echo "ac_add_options --disable-av1" >> .mozconfig MAKEFLAGS="-j1" + sed -i '/cargo_rustc_flags += -Clto/d' config/makefiles/rust.mk elif [[ $CARCH == "aarch64" ]]; then echo 'ac_add_options --enable-rust-simd' >> .mozconfig fi