From 7ee06634052e4158c5777cf9324b5658b6af3ec7a98e10fe38de1ed32b2a1cf9 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Sat, 9 Oct 2010 09:51:44 +0000 Subject: [PATCH] - explicitly filter -fomit-frame-pointer as it breaks some copy protections or hooks in Steam. OBS-URL: https://build.opensuse.org/package/show/Emulators/wine?expand=0&rev=71 --- wine.changes | 6 ++++++ wine.spec | 4 ++++ 2 files changed, 10 insertions(+) diff --git a/wine.changes b/wine.changes index 9928fd9..b4196e0 100644 --- a/wine.changes +++ b/wine.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sat Oct 9 11:51:11 CEST 2010 - meissner@suse.de + +- explicitly filter -fomit-frame-pointer as it breaks some + copy protections or hooks in Steam. + ------------------------------------------------------------------- Mon Sep 20 13:11:42 CEST 2010 - meissner@suse.de diff --git a/wine.spec b/wine.spec index 4a2cc12..17d812b 100644 --- a/wine.spec +++ b/wine.spec @@ -101,6 +101,10 @@ cp %{S:3} . %build cat VERSION +%ifarch %ix86 +# e.g. Steam hates it. +export RPM_OPT_FLAGS=`echo $RPM_OPT_FLAGS|sed -e 's/-fomit-frame-pointer//'` +%endif %configure \ --with-x \ %ifarch x86_64