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