Disabling optimizations (#830628 - crash workaround)

This commit is contained in:
Jaromir Capik 2013-01-10 19:48:53 +01:00
commit c2165b1f0f

View file

@ -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 <jcapik@redhat.com> - 1.7.0-22
- Disabling optimizations (#830628 - crash workaround)
* Thu Jan 10 2013 Jaromir Capik <jcapik@redhat.com> - 1.7.0-21
- Introducing changes from Mr.Meval's "allpatches" patch (e.g HEXEN patch)