- 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:
@@ -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
|
||||
|
Reference in New Issue
Block a user