1
0

- remove -fno-inline-small-functions which breaks with gcc7

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

View File

@ -1,9 +1,8 @@
------------------------------------------------------------------- -------------------------------------------------------------------
Tue May 23 14:00:40 UTC 2017 - wr@rosenauer.org 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) (boo#1040105)
- remove -fno-inline-small-functions
------------------------------------------------------------------- -------------------------------------------------------------------
Mon May 8 08:28:17 UTC 2017 - wr@rosenauer.org Mon May 8 08:28:17 UTC 2017 - wr@rosenauer.org

View File

@ -337,10 +337,6 @@ ac_add_options --enable-default-toolkit=cairo-gtk2
%if 0%{?build_hardened} %if 0%{?build_hardened}
ac_add_options --enable-pie ac_add_options --enable-pie
%endif %endif
# gcc7 (boo#1040105)
%if 0%{?suse_version} > 1320
ac_add_options --enable-optimize="-g -O2"
%endif
%ifarch %ix86 %arm %ifarch %ix86 %arm
%if 0%{?suse_version} > 1230 %if 0%{?suse_version} > 1230
ac_add_options --disable-optimize ac_add_options --disable-optimize