From 305fd9f3004d45c3931996f3fb980bbe636cdc0cd431bb8581215250d58cf768 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Tue, 7 Jul 2015 09:55:43 +0000 Subject: [PATCH] - use gcc-4.8 for building, as gcc5 miscompiles wine currently. OBS-URL: https://build.opensuse.org/package/show/Emulators/wine?expand=0&rev=292 --- wine.changes | 5 +++++ wine.spec | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/wine.changes b/wine.changes index 9dcbe0b..ea4bdfb 100644 --- a/wine.changes +++ b/wine.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jul 7 09:55:22 UTC 2015 - meissner@suse.com + +- use gcc-4.8 for building, as gcc5 miscompiles wine currently. + ------------------------------------------------------------------- Fri Jun 26 12:18:00 UTC 2015 - meissner@suse.com diff --git a/wine.spec b/wine.spec index 39c1be7..f758124 100644 --- a/wine.spec +++ b/wine.spec @@ -52,6 +52,7 @@ BuildRequires: pkgconfig # only used on win32 and win64 today BuildRequires: prelink %endif +BuildRequires: gcc48 BuildRequires: sane-backends-devel BuildRequires: update-desktop-files BuildRequires: valgrind-devel @@ -131,6 +132,9 @@ cat VERSION # e.g. Steam and other copy protections hate removed %ebp. export RPM_OPT_FLAGS=`echo $RPM_OPT_FLAGS|sed -e 's/-fomit-frame-pointer//'` %endif +# Until gcc 5 is fixed +export CC="gcc-4.8" + # keep just for susepatches with configure changes #autoconf #autoheader -I include