mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-02-16 23:57:11 +00:00
extra/firefox: fixes
This commit is contained in:
parent
40307aa57f
commit
b57dcff47e
1 changed files with 10 additions and 4 deletions
|
@ -8,7 +8,6 @@
|
|||
|
||||
buildarch=12
|
||||
highmem=1
|
||||
noautobuild=1
|
||||
|
||||
pkgname=firefox
|
||||
pkgver=72.0
|
||||
|
@ -70,7 +69,7 @@ ac_add_options --enable-application=browser
|
|||
ac_add_options --prefix=/usr
|
||||
ac_add_options --enable-release
|
||||
#ac_add_options --enable-hardening
|
||||
ac_add_options --enable-optimize="-O2"
|
||||
#ac_add_options --enable-optimize="-O2"
|
||||
#ac_add_options --enable-rust-simd
|
||||
#ac_add_options --enable-lto
|
||||
#export MOZ_PGO=1
|
||||
|
@ -116,12 +115,19 @@ END
|
|||
echo "ac_add_options --disable-elf-hack" >> .mozconfig
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1641623
|
||||
echo "ac_add_options --disable-av1" >> .mozconfig
|
||||
export RUSTFLAGS="-Cdebuginfo=0"
|
||||
MAKEFLAGS="-j2"
|
||||
elif [[ $CARCH == "aarch64" ]]; then
|
||||
echo 'ac_add_options --enable-rust-simd' >> .mozconfig
|
||||
fi
|
||||
|
||||
LDFLAGS+=" -Wl,--no-keep-memory -Wl,--reduce-memory-overheads"
|
||||
echo 'ac_add_options --enable-optimize="-g0 -O2"' >> .mozconfig
|
||||
echo "mk_add_options MOZ_MAKE_FLAGS=\"${MAKEFLAGS}\"" >> .mozconfig
|
||||
|
||||
export MOZ_DEBUG_FLAGS=" "
|
||||
export CFLAGS+=" -g0"
|
||||
export CXXFLAGS+=" -g0"
|
||||
export LDFLAGS+=" -Wl,--no-keep-memory -Wl,--reduce-memory-overheads"
|
||||
export RUSTFLAGS="-Cdebuginfo=0"
|
||||
patch -p1 -i ../arm.patch
|
||||
patch -p1 -i ../build-arm-libopus.patch
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue