2015-06-19 17:07:11 +00:00
|
|
|
--- a/pppd/plugins/radius/Makefile.linux
|
|
|
|
+++ b/pppd/plugins/radius/Makefile.linux
|
|
|
|
@@ -43,13 +43,13 @@ install: all
|
|
|
|
$(INSTALL) -c -m 444 pppd-radattr.8 $(MANDIR)
|
|
|
|
|
|
|
|
radius.so: radius.o libradiusclient.a
|
|
|
|
- $(CC) -o radius.so -shared radius.o libradiusclient.a
|
2018-07-11 17:14:53 +00:00
|
|
|
+ $(CC) $(CFLAGS) -o radius.so -shared radius.o libradiusclient.a
|
2015-06-19 17:07:11 +00:00
|
|
|
|
|
|
|
radattr.so: radattr.o
|
|
|
|
- $(CC) -o radattr.so -shared radattr.o
|
2018-07-11 17:14:53 +00:00
|
|
|
+ $(CC) $(CFLAGS) -o radattr.so -shared radattr.o
|
2015-06-19 17:07:11 +00:00
|
|
|
|
|
|
|
radrealms.so: radrealms.o
|
|
|
|
- $(CC) -o radrealms.so -shared radrealms.o
|
2018-07-11 17:14:53 +00:00
|
|
|
+ $(CC) $(CFLAGS) -o radrealms.so -shared radrealms.o
|
2015-06-19 17:07:11 +00:00
|
|
|
|
|
|
|
CLIENTOBJS = avpair.o buildreq.o config.o dict.o ip_util.o \
|
|
|
|
clientid.o sendserver.o lock.o util.o md5.o
|
|
|
|
--- a/pppd/plugins/rp-pppoe/Makefile.linux
|
|
|
|
+++ b/pppd/plugins/rp-pppoe/Makefile.linux
|
|
|
|
@@ -30,7 +30,7 @@ CFLAGS=$(COPTS) -I../../../include '-DRP
|
|
|
|
all: rp-pppoe.so pppoe-discovery
|
|
|
|
|
|
|
|
pppoe-discovery: pppoe-discovery.o debug.o
|
|
|
|
- $(CC) -o pppoe-discovery pppoe-discovery.o debug.o
|
|
|
|
+ $(CC) $(CFLAGS) -o pppoe-discovery pppoe-discovery.o debug.o
|
|
|
|
|
|
|
|
pppoe-discovery.o: pppoe-discovery.c
|
|
|
|
$(CC) $(CFLAGS) -c -o pppoe-discovery.o pppoe-discovery.c
|
|
|
|
@@ -39,7 +39,7 @@ debug.o: debug.c
|
|
|
|
$(CC) $(CFLAGS) -c -o debug.o debug.c
|
|
|
|
|
|
|
|
rp-pppoe.so: plugin.o discovery.o if.o common.o
|
|
|
|
- $(CC) -o rp-pppoe.so -shared plugin.o discovery.o if.o common.o
|
|
|
|
+ $(CC) $(CFLAGS) -o rp-pppoe.so -shared plugin.o discovery.o if.o common.o
|
|
|
|
|
|
|
|
install: all
|
|
|
|
$(INSTALL) -d -m 755 $(LIBDIR)
|