openbsd-ports/games/uhexen2/patches/patch-hw_utils_hwmquery_Makefile
edd 35698f718e games/uhexen2: Update to version 1.5.9.
Sent in from Paul Valencia, with some minor tweaks from myself.

Tested by thfr@

Thanks both.
2020-06-08 21:15:19 +00:00

24 lines
447 B
Plaintext

$OpenBSD: patch-hw_utils_hwmquery_Makefile,v 1.3 2020/06/08 21:15:19 edd Exp $
Use standard optimisations.
Index: hw_utils/hwmquery/Makefile
--- hw_utils/hwmquery/Makefile.orig
+++ hw_utils/hwmquery/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)