Sent in from Paul Valencia, with some minor tweaks from myself. Tested by thfr@ Thanks both.
24 lines
447 B
Plaintext
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)
|