1
0

- explicitely optimize with -O2 for openSUSE > 13.2/Leap 42 to work

with gcc7 (boo#1040105, boo#1042090)

OBS-URL: https://build.opensuse.org/package/show/mozilla:Factory/MozillaThunderbird?expand=0&rev=370
This commit is contained in:
Wolfgang Rosenauer 2017-06-01 06:10:49 +00:00 committed by Git OBS Bridge
parent 2f48663b5c
commit 84d1aa88aa
2 changed files with 15 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Jun 1 06:09:23 UTC 2017 - wr@rosenauer.org
- explicitely optimize with -O2 for openSUSE > 13.2/Leap 42 to work
with gcc7 (boo#1040105, boo#1042090)
-------------------------------------------------------------------
Thu May 11 21:16:41 UTC 2017 - wr@rosenauer.org

View File

@ -260,7 +260,15 @@ ac_add_options --includedir=%{_includedir}
ac_add_options --disable-tests
ac_add_options --disable-debug
ac_add_options --enable-alsa
ac_add_options --enable-optimize
# gcc7 (boo#104105)
%if 0%{?suse_version} > 1320
ac_add_options --enable-optimize="-g -O2"
%endif
farch %ix86 %arm
%if 0%{?suse_version} > 1230
ac_add_options --disable-optimize
%endif
%endif
%if 0%{?mozilla_use_gtk3}
ac_add_options --enable-default-toolkit=cairo-gtk3
%else