- only optimize with -O2 for openSUSE > 13.2/Leap 42 (gcc7)

(boo#1040105)

OBS-URL: https://build.opensuse.org/package/show/mozilla:Factory/MozillaFirefox?expand=0&rev=589
This commit is contained in:
Wolfgang Rosenauer 2017-05-22 11:55:44 +00:00 committed by Git OBS Bridge
parent e4368a7e57
commit ab263d3157
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon May 22 11:54:16 UTC 2017 - wr@rosenauer.org
- only optimize with -O2 for openSUSE > 13.2/Leap 42 (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#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