summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Horák <dan@danny.cz>2017-03-01 12:10:05 +0100
committerDan Horák <dan@danny.cz>2017-03-01 12:10:05 +0100
commit9a470d95235f452a7c96d806b71172a3a6d4f02e (patch)
tree1b5585ab95264f9f23fa25d2356b5ae79fd85b8e
parentDisabled ARMv7 due to build failures (rhbz#1426850) (diff)
downloadlibrewolf-fedora-ff-9a470d95235f452a7c96d806b71172a3a6d4f02e.tar.gz
librewolf-fedora-ff-9a470d95235f452a7c96d806b71172a3a6d4f02e.tar.bz2
librewolf-fedora-ff-9a470d95235f452a7c96d806b71172a3a6d4f02e.zip
keep old optimization setup for s390(x)
xpcshell crashes with "-g -O2", potential gcc issue to be investigated later
-rw-r--r--firefox.spec5
1 files changed, 5 insertions, 0 deletions
diff --git a/firefox.spec b/firefox.spec
index 91bca26..6f52a09 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -347,7 +347,12 @@ echo "ac_add_options --disable-debug" >> .mozconfig
echo 'ac_add_options --enable-optimize="-g -O2"' >> .mozconfig
%else
%if 0%{?fedora} > 25
+%ifarch s390 s390x
+# crashes in xpcshell with "-g -O2", potential gcc issue
+echo "ac_add_options --enable-optimize" >> .mozconfig
+%else
echo 'ac_add_options --enable-optimize="-g -O2"' >> .mozconfig
+%endif
%else
echo "ac_add_options --enable-optimize" >> .mozconfig
%endif
bgstack15