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

24 lines
447 B
Plaintext
Raw Normal View History

$OpenBSD: patch-hw_utils_hwmaster_Makefile,v 1.3 2020/06/08 21:15:19 edd Exp $
Use standard optimisations.
Index: hw_utils/hwmaster/Makefile
--- hw_utils/hwmaster/Makefile.orig
+++ hw_utils/hwmaster/Makefile
@@ -47,15 +47,6 @@ endif
CPUFLAGS=$(CPU_X86)
CFLAGS += -Wall
-CFLAGS += $(CPUFLAGS)
-ifndef DEBUG
-CFLAGS += -O2 -DNDEBUG=1
-else
-CFLAGS += -g
-endif
-
-CPPFLAGS=
-LDFLAGS =
# compiler includes
INCLUDES= -I. -I$(UHEXEN2_SHARED)