]> git.pld-linux.org Git - packages/duke3d.git/blob - duke3d-opt.patch
- 20030909
[packages/duke3d.git] / duke3d-opt.patch
1 diff -urN duke3d.orig/source/Makefile duke3d/source/Makefile
2 --- duke3d.orig/source/Makefile 2003-06-23 12:59:13.000000000 +0200
3 +++ duke3d/source/Makefile      2003-09-09 20:29:02.000000000 +0200
4 @@ -87,8 +87,7 @@
5  endif
6  
7  CC = gcc
8 -CFLAGS = -c -g $(SDL_CFLAGS) -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused $(EXTRACFLAGS) -funsigned-char
9 -OPTIMIZE = -O2
10 +CFLAGS = -c $(SDL_CFLAGS) -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused $(EXTRACFLAGS) -funsigned-char
11  
12  # Uncomment this to compile with the Intel compiler (v6.0)
13  #CC = icc
14 @@ -103,7 +102,7 @@
15  
16  
17  %.o : %.c
18 -       $(CC) $(CFLAGS) $(OPTIMIZE) -o $@ $<
19 +       $(CC) $(CFLAGS) -o $@ $<
20  
21  # Animation playback crashes due to optimization error on MacOS X. --ryan.
22  ifeq ($(strip $(macosx)),true)
This page took 0.050496 seconds and 3 git commands to generate.