File tennix-optflags.patch of Package tennix

--- makefile.orig	2011-02-12 14:09:21.000000000 +0100
+++ makefile	2011-02-12 14:09:37.000000000 +0100
@@ -37,7 +37,8 @@
 DATADIR ?= $(DATAROOTDIR)/games
 
 LIBS =
-CFLAGS += -W -Wall -ansi -pedantic -Wcast-qual -Wwrite-strings -DVERSION=\"$(RELEASE)\" -O2 -DPREFIX=\"$(PREFIX)\" -g
+OPTFLAGS = -O2 -g
+CFLAGS += -W -Wall -ansi -pedantic -Wcast-qual -Wwrite-strings -DVERSION=\"$(RELEASE)\" -DPREFIX=\"$(PREFIX)\" $(OPTFLAGS)
 CXXFLAGS += $(CFLAGS)
 
 USE_PYTHON ?= 1
openSUSE Build Service is sponsored by