--- pppd/plugins/pppoatm/Makefile.linux +++ pppd/plugins/pppoatm/Makefile.linux @@ -1,5 +1,5 @@ CC = gcc -COPTS = -O2 -g +COPTS = $(MY_CFLAGS) -O2 -g CFLAGS = $(COPTS) -I../.. -I../../../include -fPIC LDFLAGS = -shared INSTALL = install --- pppd/plugins/radius/Makefile.linux +++ pppd/plugins/radius/Makefile.linux @@ -12,7 +12,7 @@ INSTALL = install PLUGIN=radius.so radattr.so radrealms.so -CFLAGS=-I. -I../.. -I../../../include -O2 -fPIC -DRC_LOG_FACILITY=LOG_DAEMON +CFLAGS= $(MY_CFLAGS) -I. -I../.. -I../../../include -O2 -fPIC -DRC_LOG_FACILITY=LOG_DAEMON # Uncomment the next line to include support for Microsoft's # MS-CHAP authentication protocol. --- pppdump/Makefile.linux +++ pppdump/Makefile.linux @@ -2,7 +2,7 @@ BINDIR = $(DESTDIR)/sbin MANDIR = $(DESTDIR)/share/man/man8 -CFLAGS= -O2 -pipe -Wall -I../include/net +CFLAGS= $(MY_CFLAGS) -O2 -pipe -Wall -I../include/net OBJS = pppdump.o bsd-comp.o deflate.o zlib.o INSTALL= install