diff options
author | Jaroslav Škarvada <jskarvad@redhat.com> | 2018-04-04 11:29:12 +0200 |
---|---|---|
committer | Paul Mackerras <paulus@ozlabs.org> | 2018-05-28 18:22:44 +1000 |
commit | a96702158e72c0d527a146940b983a366dbce464 (patch) | |
tree | b23d32e8db493fd962323d89b367f89b5c4b7207 /pppstats | |
parent | d34159f417620eb7c481bf53f29fe04c86ccd223 (diff) | |
download | ppp-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.linux | 2 |
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 |