Accepting request 602850 from home:AndreasStieger:branches:mozilla:Factory

- fix build in openSUSE:Leap:42.3:Update, use gcc7

OBS-URL: https://build.opensuse.org/request/show/602850
OBS-URL: https://build.opensuse.org/package/show/mozilla:Factory/MozillaFirefox?expand=0&rev=650
This commit is contained in:
Wolfgang Rosenauer 2018-05-02 07:26:13 +00:00 committed by Git OBS Bridge
parent 0097ae906e
commit 840cfceda3
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue May 1 18:45:02 UTC 2018 - astieger@suse.com
- fix build in openSUSE:Leap:42.3:Update, use gcc7
-------------------------------------------------------------------
Tue May 1 14:26:24 UTC 2018 - astieger@suse.com

View File

@ -58,7 +58,7 @@ BuildRequires: autoconf213
BuildRequires: dbus-1-glib-devel
BuildRequires: fdupes
%if 0%{?suse_version} <= 1320
BuildRequires: gcc5-c++
BuildRequires: gcc7-c++
%else
BuildRequires: gcc-c++
%endif
@ -298,7 +298,7 @@ export MOZILLA_OFFICIAL=1
export BUILD_OFFICIAL=1
export MOZ_TELEMETRY_REPORTING=1
%if 0%{?suse_version} <= 1320
export CC=gcc-5
export CC=gcc-7
%endif
export CFLAGS="%{optflags} -fno-strict-aliasing"
# boo#986541: add -fno-delete-null-pointer-checks for gcc6