openbsd-ports/games/uhexen2/patches/patch-hw_utils_hwmaster_Makefile

25 lines
526 B
Plaintext
Raw Normal View History

$OpenBSD: patch-hw_utils_hwmaster_Makefile,v 1.2 2016/12/31 10:48:00 jsg Exp $
Use standard optimisations.
--- hw_utils/hwmaster/Makefile.orig Tue Apr 19 00:03:18 2016
+++ hw_utils/hwmaster/Makefile Mon Dec 26 13:16:56 2016
@@ -46,14 +46,9 @@ endif
# Overrides for the default CPUFLAGS
CPUFLAGS=$(CPU_X86)
-CFLAGS += -g -Wall
-CFLAGS += $(CPUFLAGS)
-ifndef DEBUG
-CFLAGS += -O2 -DNDEBUG=1
-endif
-
-CPPFLAGS=
-LDFLAGS =
+CFLAGS += -Wall
+CPPFLAGS +=
+LDFLAGS +=
# compiler includes
INCLUDES= -I. -I$(UHEXEN2_SHARED)