summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2003-09-09 18:10:15 +0000
committerMike Frysinger <vapier@gentoo.org>2003-09-09 18:10:15 +0000
commitad69522f5e6b57d5350a46ebda16dbe091d0e4b6 (patch)
tree1580e46b57d69a004ab7bafb3f19590605890684 /games-fps/duke3d/files/20030817-buildengine-makefile-cflags.patch
parentNew version 'n cleanup (diff)
downloadhistorical-ad69522f5e6b57d5350a46ebda16dbe091d0e4b6.tar.gz
historical-ad69522f5e6b57d5350a46ebda16dbe091d0e4b6.tar.bz2
historical-ad69522f5e6b57d5350a46ebda16dbe091d0e4b6.zip
games-fps uNF uNF uNF
Diffstat (limited to 'games-fps/duke3d/files/20030817-buildengine-makefile-cflags.patch')
-rw-r--r--games-fps/duke3d/files/20030817-buildengine-makefile-cflags.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/games-fps/duke3d/files/20030817-buildengine-makefile-cflags.patch b/games-fps/duke3d/files/20030817-buildengine-makefile-cflags.patch
new file mode 100644
index 000000000000..b8a8434bf1a6
--- /dev/null
+++ b/games-fps/duke3d/files/20030817-buildengine-makefile-cflags.patch
@@ -0,0 +1,13 @@
+--- Makefile.orig 2003-08-17 17:03:30.643555488 -0400
++++ Makefile 2003-08-17 17:03:50.415549688 -0400
+@@ -195,8 +195,8 @@
+ ENGINEDIR = .
+ ASMFLAGS = -f $(ASMOBJFMT) $(ASMDEFS)
+ LINKER = gcc
+-CFLAGS += $(USE_ASM) -funsigned-char -O2 -DPLATFORM_UNIX -g -Wall $(SDL_CFLAGS) -fno-omit-frame-pointer
+-LDFLAGS += -g $(SDL_LDFLAGS)
++CFLAGS += $(USE_ASM) $(OPTFLAGS) -funsigned-char -DPLATFORM_UNIX -Wall $(SDL_CFLAGS) -fno-omit-frame-pointer
++LDFLAGS += $(SDL_LDFLAGS)
+
+ # Rules for turning source files into .o files
+ %.o: %.c