X-Git-Url: https://git.ozlabs.org/?p=ppp.git;a=blobdiff_plain;f=pppd%2FMakefile.linux;h=22837c50415e69a6e1a576b97298e741080861f2;hp=958cc29b1e595f484c95ab6dcde98321d4db11bb;hb=4087ec556b1ccee15d8e97153f3800b79982f8ba;hpb=248c11d375c54a8b5fc61c6659be2f8826e889ec diff --git a/pppd/Makefile.linux b/pppd/Makefile.linux index 958cc29..22837c5 100644 --- a/pppd/Makefile.linux +++ b/pppd/Makefile.linux @@ -3,6 +3,10 @@ # Processed by configure to produce pppd/Makefile # +CROSS_COMPILE=@CROSS_COMPILE@ +CC=$(CROSS_COMPILE)@CC@ +COPTS=@CFLAGS@ + # Default installation locations DESTDIR = $(INSTROOT)@DESTDIR@ BINDIR = $(DESTDIR)/sbin @@ -30,9 +34,6 @@ ifeq (.depend,$(wildcard .depend)) include .depend endif -# CC = gcc -# -COPTS = -O2 -pipe -Wall -g LIBS = -lrt # Uncomment the next line to include support for Microsoft's @@ -90,7 +91,7 @@ MAXOCTETS=y INCLUDE_DIRS= -I../include -COMPILE_FLAGS= -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP +COMPILE_FLAGS= -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -pipe CFLAGS= $(COPTS) $(COMPILE_FLAGS) $(INCLUDE_DIRS) '-DDESTDIR="@DESTDIR@"'