mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-09 00:17:31 +00:00
extra/firefox: fixes
This commit is contained in:
parent
40eaf7c633
commit
f282271d25
1 changed files with 11 additions and 5 deletions
|
@ -32,7 +32,7 @@ source=(https://ftp.mozilla.org/pub/mozilla.org/firefox/releases/$pkgver/source/
|
|||
firefox-install-dir.patch rust-i686.patch fix-wifi-scanner.diff
|
||||
mozilla-1253216.patch
|
||||
mozilla-build-arm.patch)
|
||||
sha256sums=('2ea8659c787c6a9d2b1fdadbb3171b3a6d3ef3d61fbaaa8e40fa14cfd0b82dd9'
|
||||
sha256sums=('2927a9a097be69338ed2a4aa94f063669e447e59fbcd28da76c7bb180ed16230'
|
||||
'ada313750e6fb14558b37c764409a17c1672a351a46c73b350aa1fe4ea9220ef'
|
||||
'a2474b32b9b2d7e0fb53a4c89715507ad1c194bef77713d798fa39d507def9e9'
|
||||
'd86e41d87363656ee62e12543e2f5181aadcff448e406ef3218e91865ae775cd'
|
||||
|
@ -77,8 +77,8 @@ ac_add_options --enable-application=browser
|
|||
|
||||
ac_add_options --prefix=/usr
|
||||
ac_add_options --enable-release
|
||||
ac_add_options --enable-gold
|
||||
ac_add_options --enable-pie
|
||||
#ac_add_options --enable-gold
|
||||
#ac_add_options --enable-pie
|
||||
|
||||
# Branding
|
||||
ac_add_options --enable-official-branding
|
||||
|
@ -120,8 +120,14 @@ ac_add_options --disable-updater
|
|||
STRIP_FLAGS="--strip-debug"
|
||||
END
|
||||
|
||||
[[ $CARCH != "aarch64" ]] && echo "ac_add_options --disable-ion" >> .mozconfig \
|
||||
&& echo "ac_add_options --disable-elf-hack" >> .mozconfig
|
||||
if [[ $CARCH == "armv7h" ]]; then
|
||||
echo "ac_add_options --disable-ion" >> .mozconfig
|
||||
echo "ac_add_options --disable-elf-hack" >> .mozconfig
|
||||
echo 'ac_add_options --enable-optimize="-g -O2 -fno-schedule-insns"' >> .mozconfig
|
||||
elif [[ $CARCH == "aarch64" ]]; then
|
||||
echo "ac_add_options --enable-gold" >> .mozconfig
|
||||
echo "ac_add_options --enable-pie" >> .mozconfig
|
||||
fi
|
||||
patch -p1 -i ../mozilla-1253216.patch
|
||||
patch -p1 -i ../mozilla-build-arm.patch
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue