Files
pkgsrc-ng/security/bunny/patches/patch-Makefile
2016-11-18 22:39:22 +01:00

18 lines
565 B
Plaintext

$NetBSD: patch-Makefile,v 1.1 2016/09/19 13:04:27 wiedi Exp $
respect CFLAGS and LDFLAGS
--- Makefile.orig 2007-11-06 11:04:07.000000000 +0000
+++ Makefile
@@ -19,8 +19,8 @@
#
PROGNAME = bunny-gcc bunny-trace bunny-exec bunny-flow bunny-main
-CFLAGS = -Wall -O3 -funroll-loops -fno-strict-aliasing -ffast-math -Wno-pointer-sign
-EX_LIBS = -lcrypto -lm
+CFLAGS += -Wall -O3 -funroll-loops -fno-strict-aliasing -ffast-math -Wno-pointer-sign
+EX_LIBS = -lcrypto -lm $(LDFLAGS)
# CFLAGS = -Wall -g -ggdb -g3 -Wno-pointer-sign
# CFLAGS += -DDEBUG_TRACE=1