]> git.pld-linux.org Git - packages/doomlegacy.git/commitdiff
- I'm restoring previous version, it crashes with optimalizations on one machine...
authormisi3k <misi3k@pld-linux.org>
Thu, 6 Mar 2003 18:51:41 +0000 (18:51 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    doomlegacy.spec -> 1.17

doomlegacy.spec

index 3c91aa8385579610eb82e106e5d032e1ded7dc8b..f968c38fa67f7997908df4669b7985d61f3c9c72 100644 (file)
@@ -2,7 +2,7 @@ Summary:        DOOM Legacy for Linux
 Summary(pl):   DOOM Legacy dla Linuksa
 Name:          doomlegacy
 Version:       1.40
-Release:       3
+Release:       2
 License:       GPL, perhaps except for doom3.wad
 Group:         Applications/Games
 Source0:       http://dl.sourceforge.net/doomlegacy/legacy_140_src.tar.gz
@@ -21,6 +21,7 @@ BuildRequires:        unzip
 ExclusiveArch: %{ix86}
 Buildroot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+%define                debugcflags     -O1 -g
 %define                _noautoreqdep   libGL.so.1 libGLU.so.1
 
 %description
@@ -78,11 +79,11 @@ mkdir bin
 # linux_x contains some precompiled binary objects (incompatible with glibc 2.3) - kill them
 %{__make} -C doomlegacy_src clean LINUX=1
 %{__make} -C doomlegacy_src \
-       PGCC=1 LINUX=1 OPTFLAGS="%{rpmcflags}"
+       PGCC=1 LINUX=1 OPTFLAGS="%{rpmcflags} %{!?debug:-fomit-frame-pointer}"
 
 %{__make} -C doomlegacy_src clean LINUX=1
 %{__make} -C doomlegacy_src \
-       PGCC=1 LINUX=1 SDL=1 OPTFLAGS="%{rpmcflags}"
+       PGCC=1 LINUX=1 SDL=1 OPTFLAGS="%{rpmcflags} %{!?debug:-fomit-frame-pointer}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.126252 seconds and 4 git commands to generate.