aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2018-07-11 19:14:53 +0200
committerFelix Fietkau <nbd@nbd.name>2018-07-13 17:22:53 +0200
commitdfbd49bd223c408f6072ba4971eb7bce5cb81971 (patch)
treeaf8cc07d00983cff779cb285bc555f1ec917a34a /package
parent07940acc341ee9bb2887359f193625e48f36207e (diff)
downloadupstream-dfbd49bd223c408f6072ba4971eb7bce5cb81971.tar.gz
upstream-dfbd49bd223c408f6072ba4971eb7bce5cb81971.tar.bz2
upstream-dfbd49bd223c408f6072ba4971eb7bce5cb81971.zip
ppp: fix linker flags for the radius plugin
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'package')
-rw-r--r--package/network/services/ppp/patches/001-honor-ldflags.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/package/network/services/ppp/patches/001-honor-ldflags.patch b/package/network/services/ppp/patches/001-honor-ldflags.patch
index 1328811537..fae66a5ec7 100644
--- a/package/network/services/ppp/patches/001-honor-ldflags.patch
+++ b/package/network/services/ppp/patches/001-honor-ldflags.patch
@@ -5,15 +5,15 @@
radius.so: radius.o libradiusclient.a
- $(CC) -o radius.so -shared radius.o libradiusclient.a
-+ $(CC) $(COPTS) -o radius.so -shared radius.o libradiusclient.a
++ $(CC) $(CFLAGS) -o radius.so -shared radius.o libradiusclient.a
radattr.so: radattr.o
- $(CC) -o radattr.so -shared radattr.o
-+ $(CC) $(COPTS) -o radattr.so -shared radattr.o
++ $(CC) $(CFLAGS) -o radattr.so -shared radattr.o
radrealms.so: radrealms.o
- $(CC) -o radrealms.so -shared radrealms.o
-+ $(CC) $(COPTS) -o radrealms.so -shared radrealms.o
++ $(CC) $(CFLAGS) -o radrealms.so -shared radrealms.o
CLIENTOBJS = avpair.o buildreq.o config.o dict.o ip_util.o \
clientid.o sendserver.o lock.o util.o md5.o