From 3a582f3c57906fb44ba351cd8bb98b38f5ca3043 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Tue, 28 Nov 2017 23:28:33 +0100 Subject: [PATCH] Honour LDFLAGS. Signed-off-by: Christian Hesse --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 7059a14..8fc9b18 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ LIBS=`[ \`uname\` = "SunOS" ] && echo -lsocket -lnsl` all: darkhttpd darkhttpd: darkhttpd.c - $(CC) $(CFLAGS) $(LIBS) darkhttpd.c -o $@ + $(CC) $(CFLAGS) $(LDFLAGS) $(LIBS) darkhttpd.c -o $@ clean: rm -f darkhttpd core darkhttpd.core