summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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