From 9a470d95235f452a7c96d806b71172a3a6d4f02e Mon Sep 17 00:00:00 2001 From: Dan HorĂ¡k Date: Wed, 1 Mar 2017 12:10:05 +0100 Subject: keep old optimization setup for s390(x) xpcshell crashes with "-g -O2", potential gcc issue to be investigated later --- firefox.spec | 5 +++++ 1 file changed, 5 insertions(+) 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 -- cgit