$OpenBSD: patch-engine_hexen2_Makefile,v 1.2 2016/12/31 10:48:00 jsg Exp $

Use standard optimisations.

--- engine/hexen2/Makefile.orig	Mon Jul 25 06:40:21 2016
+++ engine/hexen2/Makefile	Sat Dec 31 20:43:29 2016
@@ -133,7 +133,7 @@ USE_CODEC_MODPLUG=no
 USE_CODEC_UMX=no
 # either timidity (preferred) or wildmidi (both possible
 # but not needed nor meaningful)
-USE_CODEC_TIMIDITY=yes
+USE_CODEC_TIMIDITY=no
 USE_CODEC_WILDMIDI=no
 # compile timidity with DLS instruments support? (no:
 # the dls code isn't good enough and isn't used in unix
@@ -194,12 +194,7 @@ endif
 # Overrides for the default CPUFLAGS
 CPUFLAGS=$(CPU_X86)
 
-CFLAGS += -g -Wall
-CFLAGS += $(CPUFLAGS)
-ifndef DEBUG
-# optimization flags
-CFLAGS += -O2 -DNDEBUG=1 -ffast-math -fomit-frame-pointer
-endif
+CFLAGS += -Wall
 
 CPPFLAGS=
 LDFLAGS =
