1
0

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