summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Stransky <stransky@redhat.com>2018-12-11 10:41:37 +0100
committerMartin Stransky <stransky@redhat.com>2018-12-11 10:41:37 +0100
commit8f65c003284904221f86b2a2ece85be7fcf650e5 (patch)
tree21c3e7656628f94d4a305ded3efc186405323686
parentDisable rust debuginfo in i686 (diff)
downloadlibrewolf-fedora-ff-8f65c003284904221f86b2a2ece85be7fcf650e5.tar.gz
librewolf-fedora-ff-8f65c003284904221f86b2a2ece85be7fcf650e5.tar.bz2
librewolf-fedora-ff-8f65c003284904221f86b2a2ece85be7fcf650e5.zip
Disable full debuginfo on arm
-rw-r--r--firefox.spec4
1 files changed, 2 insertions, 2 deletions
diff --git a/firefox.spec b/firefox.spec
index 662d406..44047da 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -547,10 +547,10 @@ MOZ_OPT_FLAGS="$MOZ_OPT_FLAGS -fPIC -Wl,-z,relro -Wl,-z,now"
%if %{?debug_build}
MOZ_OPT_FLAGS=$(echo "$MOZ_OPT_FLAGS" | %{__sed} -e 's/-O2//')
%endif
-%ifarch s390
+%ifarch s390 %{arm}
MOZ_OPT_FLAGS=$(echo "$MOZ_OPT_FLAGS" | %{__sed} -e 's/-g/-g1/')
# If MOZ_DEBUG_FLAGS is empty, firefox's build will default it to "-g" which
-# overrides the -g1 from line above and breaks building on s390
+# overrides the -g1 from line above and breaks building on s390/arm
# (OOM when linking, rhbz#1238225)
export MOZ_DEBUG_FLAGS=" "
%endif
bgstack15