summaryrefslogtreecommitdiff
path: root/pppstats
diff options
context:
space:
mode:
authorJaroslav Škarvada <jskarvad@redhat.com>2018-04-04 11:29:12 +0200
committerPaul Mackerras <paulus@ozlabs.org>2018-05-28 18:22:44 +1000
commita96702158e72c0d527a146940b983a366dbce464 (patch)
treeb23d32e8db493fd962323d89b367f89b5c4b7207 /pppstats
parentd34159f417620eb7c481bf53f29fe04c86ccd223 (diff)
downloadppp-a96702158e72c0d527a146940b983a366dbce464.tar.gz
Honor LDFLAGS
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 <jskarvad@redhat.com>
Diffstat (limited to 'pppstats')
-rw-r--r--pppstats/Makefile.linux2
1 files changed, 1 insertions, 1 deletions
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