mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-19 00:21:40 +00:00
extra/thunderbird: v7 fix
This commit is contained in:
parent
61dc71047b
commit
32cf0e87be
1 changed files with 5 additions and 1 deletions
|
@ -78,8 +78,12 @@ prepare() {
|
||||||
|
|
||||||
if [[ $CARCH == "armv7h" ]]; then
|
if [[ $CARCH == "armv7h" ]]; then
|
||||||
echo "ac_add_options --disable-elf-hack" >> .mozconfig
|
echo "ac_add_options --disable-elf-hack" >> .mozconfig
|
||||||
MAKEFLAGS="-j2"
|
MAKEFLAGS="-j4"
|
||||||
|
# disable hard-coded LTO
|
||||||
sed -i '/cargo_rustc_flags += -Clto/d' config/makefiles/rust.mk
|
sed -i '/cargo_rustc_flags += -Clto/d' config/makefiles/rust.mk
|
||||||
|
sed -i '/RUSTFLAGS += -Cembed-bitcode=yes/d' config/makefiles/rust.mk
|
||||||
|
# increase codegen-units due to RAM constraints
|
||||||
|
sed -i 's/codegen-units=1/codegen-units=16/' config/makefiles/rust.mk
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo 'ac_add_options --enable-optimize="-g0 -O2"' >> .mozconfig
|
echo 'ac_add_options --enable-optimize="-g0 -O2"' >> .mozconfig
|
||||||
|
|
Loading…
Reference in a new issue