Sent in from Paul Valencia, with some minor tweaks from myself. Tested by thfr@ Thanks both.
22 lines
396 B
Plaintext
22 lines
396 B
Plaintext
$OpenBSD: patch-h2patch_Makefile,v 1.2 2020/06/08 21:15:19 edd Exp $
|
|
|
|
Use standard optimisations.
|
|
|
|
Index: h2patch/Makefile
|
|
--- h2patch/Makefile.orig
|
|
+++ h2patch/Makefile
|
|
@@ -19,13 +19,6 @@ LINKER = $(CC)
|
|
|
|
CPUFLAGS=
|
|
CFLAGS = -Wall
|
|
-CFLAGS += $(CPUFLAGS)
|
|
-ifndef DEBUG
|
|
-CFLAGS += -O2 -DNDEBUG=1
|
|
-else
|
|
-CFLAGS += -g
|
|
-endif
|
|
-LDFLAGS =
|
|
|
|
XDELTA_DIR:= $(LIBS_DIR)/xdelta3
|
|
XDFLAGS:= -DXD3_DEBUG=0
|