summaryrefslogtreecommitdiff
path: root/pppdump
diff options
context:
space:
mode:
Diffstat (limited to 'pppdump')
-rw-r--r--pppdump/Makefile.linux7
1 files changed, 5 insertions, 2 deletions
diff --git a/pppdump/Makefile.linux b/pppdump/Makefile.linux
index 742a4b8..a94187f 100644
--- a/pppdump/Makefile.linux
+++ b/pppdump/Makefile.linux
@@ -1,9 +1,12 @@
+CROSS_COMPILE=@CROSS_COMPILE@
+CC=$(CROSS_COMPILE)@CC@
+COPTS=@CFLAGS@
+
DESTDIR = $(INSTROOT)@DESTDIR@
BINDIR = $(DESTDIR)/sbin
MANDIR = $(DESTDIR)/share/man/man8
-CFLAGS ?= -O
-CFLAGS += -I../include/net
+CFLAGS = $(COPTS) -I../include/net
OBJS = pppdump.o bsd-comp.o deflate.o zlib.o
INSTALL= install