1
0

- remove -fno-inline-small-functions and explicitely optimize with

-O2 for openSUSE > 13.2/Leap 42 to work with gcc7 (boo#1040105)

OBS-URL: https://build.opensuse.org/package/show/mozilla:Factory/MozillaFirefox?expand=0&rev=592
This commit is contained in:
Wolfgang Rosenauer 2017-05-24 18:34:48 +00:00 committed by Git OBS Bridge
parent cce32d5c86
commit 1dc1d33afa
2 changed files with 6 additions and 2 deletions

View File

@ -1,8 +1,8 @@
-------------------------------------------------------------------
Tue May 23 14:00:40 UTC 2017 - wr@rosenauer.org
- remove -fno-inline-small-functions which breaks with gcc7
(boo#1040105)
- remove -fno-inline-small-functions and explicitely optimize with
-O2 for openSUSE > 13.2/Leap 42 to work with gcc7 (boo#1040105)
-------------------------------------------------------------------
Mon May 8 08:28:17 UTC 2017 - wr@rosenauer.org

View File

@ -337,6 +337,10 @@ ac_add_options --enable-default-toolkit=cairo-gtk2
%if 0%{?build_hardened}
ac_add_options --enable-pie
%endif
# gcc7 (boo#104105)
%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