From 9c71519dbce2b3871abf0e4f07c20b04d4a4b07a Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Sat, 20 Nov 2021 10:24:30 +0000 Subject: [PATCH] extra/thunderbird: fix --- extra/thunderbird/PKGBUILD | 2 ++ 1 file changed, 2 insertions(+) diff --git a/extra/thunderbird/PKGBUILD b/extra/thunderbird/PKGBUILD index 8705d25ac..ee65a65c5 100644 --- a/extra/thunderbird/PKGBUILD +++ b/extra/thunderbird/PKGBUILD @@ -7,6 +7,7 @@ # ALARM: Kevin Mihelich # - mozconfig changes for ARM +# - disable rust lto for v7 buildarch=12 highmem=1 @@ -81,6 +82,7 @@ prepare() { MAKEFLAGS="-j2" CFLAGS=`echo $CFLAGS | sed -e 's/vfpv3-d16/neon/'` CXXFLAGS="$CFLAGS" + sed -i '/cargo_rustc_flags += -Clto/d' config/makefiles/rust.mk fi echo 'ac_add_options --enable-optimize="-g0 -O2"' >> .mozconfig