summaryrefslogtreecommitdiff
path: root/pppdump
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 /pppdump
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 'pppdump')
-rw-r--r--pppdump/Makefile.linux2
1 files changed, 1 insertions, 1 deletions
diff --git a/pppdump/Makefile.linux b/pppdump/Makefile.linux
index ac028f6..cdf7ac4 100644
--- a/pppdump/Makefile.linux
+++ b/pppdump/Makefile.linux
@@ -10,7 +10,7 @@ INSTALL= install
all: pppdump
pppdump: $(OBJS)
- $(CC) -o pppdump $(OBJS)
+ $(CC) $(LDFLAGS) -o pppdump $(OBJS)
clean:
rm -f pppdump $(OBJS) *~