]> git.pld-linux.org Git - packages/duke3d.git/commitdiff
- use rpm optimizations
authorTomasz Pala <gotar@pld-linux.org>
Tue, 9 Sep 2003 18:33:49 +0000 (18:33 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    duke3d-opt.patch -> 1.1

duke3d-opt.patch [new file with mode: 0644]

diff --git a/duke3d-opt.patch b/duke3d-opt.patch
new file mode 100644 (file)
index 0000000..d6d1acc
--- /dev/null
@@ -0,0 +1,22 @@
+diff -urN duke3d.orig/source/Makefile duke3d/source/Makefile
+--- duke3d.orig/source/Makefile        2003-06-23 12:59:13.000000000 +0200
++++ duke3d/source/Makefile     2003-09-09 20:29:02.000000000 +0200
+@@ -87,8 +87,7 @@
+ endif
+ CC = gcc
+-CFLAGS = -c -g $(SDL_CFLAGS) -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused $(EXTRACFLAGS) -funsigned-char
+-OPTIMIZE = -O2
++CFLAGS = -c $(SDL_CFLAGS) -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused $(EXTRACFLAGS) -funsigned-char
+ # Uncomment this to compile with the Intel compiler (v6.0)
+ #CC = icc
+@@ -103,7 +102,7 @@
+ %.o : %.c
+-      $(CC) $(CFLAGS) $(OPTIMIZE) -o $@ $<
++      $(CC) $(CFLAGS) -o $@ $<
+ # Animation playback crashes due to optimization error on MacOS X. --ryan.
+ ifeq ($(strip $(macosx)),true)
This page took 0.093135 seconds and 4 git commands to generate.