openbsd-ports/databases/redis/patches/patch-deps_linenoise_Makefile
2012-11-23 08:29:42 +00:00

17 lines
394 B
Plaintext

$OpenBSD: patch-deps_linenoise_Makefile,v 1.4 2012/11/23 08:29:42 dcoppa Exp $
--- deps/linenoise/Makefile.orig Thu Nov 22 17:03:27 2012
+++ deps/linenoise/Makefile Fri Nov 23 09:19:38 2012
@@ -1,10 +1,10 @@
STD=
WARN= -Wall
-OPT= -Os
+OPT=
R_CFLAGS= $(STD) $(WARN) $(OPT) $(DEBUG) $(CFLAGS)
R_LDFLAGS= $(LDFLAGS)
-DEBUG= -g
+DEBUG?= -g
R_CC=$(CC) $(R_CFLAGS)
R_LD=$(CC) $(R_LDFLAGS)