diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2018-08-23 14:49:50 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2018-08-23 16:05:22 -0400 |
commit | 37021d4a81bdd37541a1cc2606aa8a5f3e0114ca (patch) | |
tree | 05a4e63a0616aaf3b0bf811a772d8acfc52ac832 /libre/iceweasel | |
parent | 602610926467f38b237ad62d00538578c5bd181c (diff) | |
download | abslibre-37021d4a81bdd37541a1cc2606aa8a5f3e0114ca.tar.gz abslibre-37021d4a81bdd37541a1cc2606aa8a5f3e0114ca.tar.bz2 abslibre-37021d4a81bdd37541a1cc2606aa8a5f3e0114ca.zip |
libre/iceweasel: Clean up the ARM-specific hacks
1. The sed expression to disable GOLD (x86-only) was broken, fix it
2. We shouldn't disable PIE
3. Why disable optimizing (what your ARM device isn't slow enough?)
4. Don't disable WebRTC on ARM only
5. Don't disable the ELF hack
Diffstat (limited to 'libre/iceweasel')
-rw-r--r-- | libre/iceweasel/PKGBUILD | 20 |
1 files changed, 6 insertions, 14 deletions
diff --git a/libre/iceweasel/PKGBUILD b/libre/iceweasel/PKGBUILD index a083bff6b..a379819d8 100644 --- a/libre/iceweasel/PKGBUILD +++ b/libre/iceweasel/PKGBUILD @@ -102,20 +102,12 @@ ac_add_options --disable-updater ac_add_options --disable-eme END - if [[ "$CARCH" == arm* ]]; then - sed -i \ - -e '/enable-gold/s/^/#/' \ - -e '/enable-pie/s/^/#/' \ - -e '/enable-optimize/d' \ - .mozconfig - - cat >> .mozconfig << END -mk_add_options MOZ_MAKE_FLAGS="-j1" -ac_add_options --disable-webrtc -ac_add_options --disable-elf-hack -ac_add_options --enable-optimize="-g -O2 -fno-schedule-insns" -END - fi + if [[ $CARCH = arm* ]]; then + sed -i '/--enable-linker=gold/d' .mozconfig + cat >> .mozconfig <<- END + ac_add_options --enable-optimize="-g -O2 -fno-schedule-insns" + END + fi # end [[ $CARCH = arm* ]] # perform rebranding local brandingdir="$srcdir/$pkgname-$_brandingver" |