aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testing/firefox/APKBUILD11
1 files changed, 10 insertions, 1 deletions
diff --git a/testing/firefox/APKBUILD b/testing/firefox/APKBUILD
index 8f83d046a9..9668a917da 100644
--- a/testing/firefox/APKBUILD
+++ b/testing/firefox/APKBUILD
@@ -156,7 +156,15 @@ build() {
# FF doesn't have SIMD available on these arches.
case "$CARCH" in
- armhf|armv7) _rust_simd="--disable-rust-simd" ;;
+ armhf|armv7)
+ _rust_simd="--disable-rust-simd"
+ _low_mem_flags="--disable-debug-symbols --disable-debug"
+ export RUSTFLAGS="$RUSTFLAGS -C debuginfo=0"
+ ;;
+ x86)
+ _low_mem_flags="--disable-debug-symbols --disable-debug"
+ export RUSTFLAGS="$RUSTFLAGS -C debuginfo=0"
+ ;;
*) _rust_simd="--enable-rust-simd" ;;
esac
@@ -181,6 +189,7 @@ build() {
--enable-system-sqlite \
--enable-ffmpeg \
$_rust_simd \
+ $_low_mem_flags \
--enable-hardening \
--with-system-bz2 \
--with-system-icu \