projects
/
openwrt
/
staging
/
jow.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d97ad0a
)
ppp: add missing -fPIC to rp-pppoe.so CFLAGS
author
Felix Fietkau
<nbd@nbd.name>
Sat, 14 Jul 2018 08:59:52 +0000
(10:59 +0200)
committer
Jo-Philipp Wich
<jo@mein.io>
Tue, 18 Dec 2018 16:32:20 +0000
(17:32 +0100)
Fixes build error with LTO
Signed-off-by: Felix Fietkau <nbd@nbd.name>
(backported from
888a15ff8312cd157bc968b67c33d2f738883b79
)
package/network/services/ppp/patches/203-opt_flags.patch
patch
|
blob
|
history
diff --git
a/package/network/services/ppp/patches/203-opt_flags.patch
b/package/network/services/ppp/patches/203-opt_flags.patch
index d0eb9182997d01e1ffc8a6752a611832cd69a3a8..069b8585f334c35206cf32a362f794e0de6f6bce 100644
(file)
--- a/
package/network/services/ppp/patches/203-opt_flags.patch
+++ b/
package/network/services/ppp/patches/203-opt_flags.patch
@@
-30,3
+30,14
@@
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
OBJS = pppdump.o bsd-comp.o deflate.o zlib.o
INSTALL= install
+--- a/pppd/plugins/rp-pppoe/Makefile.linux
++++ b/pppd/plugins/rp-pppoe/Makefile.linux
+@@ -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) $(CFLAGS) -o rp-pppoe.so -shared plugin.o discovery.o if.o common.o
++ $(CC) $(CFLAGS) -fPIC -o rp-pppoe.so -shared plugin.o discovery.o if.o common.o
+
+ install: all
+ $(INSTALL) -d -m 755 $(LIBDIR)