From c2165b1f0f1c3dfbdf95461f561663f058aaef10 Mon Sep 17 00:00:00 2001 From: Jaromir Capik Date: Thu, 10 Jan 2013 19:48:53 +0100 Subject: [PATCH] Disabling optimizations (#830628 - crash workaround) --- yadex.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/yadex.spec b/yadex.spec index 0b68aa0..6104d8b 100644 --- a/yadex.spec +++ b/yadex.spec @@ -1,6 +1,6 @@ Name: yadex Version: 1.7.0 -Release: 21%{?dist} +Release: 22%{?dist} Summary: Doom level editor Group: Amusements/Graphics @@ -63,7 +63,10 @@ tedious tasks easy. # Don't use %%configure because this is not an autotools-generated # configure script and will choke on some of the default configure switches. ./configure --prefix=%{_prefix} -make CXXFLAGS="%{optflags}" %{?_smp_mflags} + +# Disabling optimizations (#830628 - crash workaround) +CXXFLAGS_NOOPT=`echo "%{optflags}" | sed "s/-O2//g"` +make CXXFLAGS="$CXXFLAGS_NOOPT" %{?_smp_mflags} %install @@ -108,6 +111,9 @@ fi %changelog +* Thu Jan 10 2013 Jaromir Capik - 1.7.0-22 +- Disabling optimizations (#830628 - crash workaround) + * Thu Jan 10 2013 Jaromir Capik - 1.7.0-21 - Introducing changes from Mr.Meval's "allpatches" patch (e.g HEXEN patch)