From cce32d5c86970d1a09d2f6375a9adbb56a63e38013c7c6a6c644faa15ae55b4d Mon Sep 17 00:00:00 2001 From: Wolfgang Rosenauer Date: Wed, 24 May 2017 14:54:04 +0000 Subject: [PATCH] - remove -fno-inline-small-functions which breaks with gcc7 OBS-URL: https://build.opensuse.org/package/show/mozilla:Factory/MozillaFirefox?expand=0&rev=591 --- MozillaFirefox.changes | 3 +-- MozillaFirefox.spec | 4 ---- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/MozillaFirefox.changes b/MozillaFirefox.changes index 0a006d82..02b1589d 100644 --- a/MozillaFirefox.changes +++ b/MozillaFirefox.changes @@ -1,9 +1,8 @@ ------------------------------------------------------------------- Tue May 23 14:00:40 UTC 2017 - wr@rosenauer.org -- only optimize with -O2 for openSUSE > 13.2/Leap 42 (gcc7) +- remove -fno-inline-small-functions which breaks with gcc7 (boo#1040105) -- remove -fno-inline-small-functions ------------------------------------------------------------------- Mon May 8 08:28:17 UTC 2017 - wr@rosenauer.org diff --git a/MozillaFirefox.spec b/MozillaFirefox.spec index 46994f32..c9362258 100644 --- a/MozillaFirefox.spec +++ b/MozillaFirefox.spec @@ -337,10 +337,6 @@ ac_add_options --enable-default-toolkit=cairo-gtk2 %if 0%{?build_hardened} ac_add_options --enable-pie %endif -# gcc7 (boo#1040105) -%if 0%{?suse_version} > 1320 -ac_add_options --enable-optimize="-g -O2" -%endif %ifarch %ix86 %arm %if 0%{?suse_version} > 1230 ac_add_options --disable-optimize