From a96702158e72c0d527a146940b983a366dbce464 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaroslav=20=C5=A0karvada?= Date: Wed, 4 Apr 2018 11:29:12 +0200 Subject: Honor LDFLAGS MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This makes the makefiles include $(LDFLAGS) as a parameter when linking executables. Distros use this as a way of applying linker flags across all the executables they build. [paulus@ozlabs.org - supplied the patch description] Signed-off-by: Jaroslav Škarvada --- pppstats/Makefile.linux | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pppstats') diff --git a/pppstats/Makefile.linux b/pppstats/Makefile.linux index cca6f0f..71afbe6 100644 --- a/pppstats/Makefile.linux +++ b/pppstats/Makefile.linux @@ -26,7 +26,7 @@ install: pppstats $(INSTALL) -c -m 444 pppstats.8 $(MANDIR) pppstats: $(PPPSTATSRCS) - $(CC) $(CFLAGS) -o pppstats pppstats.c $(LIBS) + $(CC) $(CFLAGS) $(LDFLAGS) -o pppstats pppstats.c $(LIBS) clean: rm -f pppstats *~ #* core -- cgit v1.2.1