SHA256
1
0
forked from pool/wine

- build with gcc8 for now, gcc9 seems to break wine.

OBS-URL: https://build.opensuse.org/package/show/Emulators/wine?expand=0&rev=625
This commit is contained in:
Marcus Meissner 2019-06-03 05:25:59 +00:00 committed by Git OBS Bridge
parent a3034dde31
commit 089e2aa1d9
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Jun 3 05:25:36 UTC 2019 - Marcus Meissner <meissner@suse.com>
- build with gcc8 for now, gcc9 seems to break wine.
-------------------------------------------------------------------
Sun May 26 08:30:03 UTC 2019 - Marcus Meissner <meissner@suse.com>

View File

@ -79,6 +79,7 @@ Obsoletes: wine-mp3 < %version
Recommends: wine-mp3
%endif
BuildRequires: SDL2-devel
BuildRequires: gcc8
BuildRequires: ncurses-devel
BuildRequires: openal-soft-devel
BuildRequires: openldap2-devel
@ -230,6 +231,9 @@ export WIDL_TIME_OVERRIDE="0" # for reproducible builds.
export RPM_OPT_FLAGS=`echo $RPM_OPT_FLAGS|sed -e 's/-fomit-frame-pointer//'`
%endif
if rpm -q gcc|grep gcc-9 ; then
export CC=gcc-8
fi
%ifarch aarch64
# ARM64 now requires clang
# https://source.winehq.org/git/wine.git/commit/8fb8cc03c3edb599dd98f369e14a08f899cbff95