ppp: remove -ffunction-sections, -fdata-sections and -Wl,--gc-sections, it can cause...
[openwrt.git] / package / ppp / patches / 202-no_strip.patch
1 --- a/chat/Makefile.linux
2 +++ b/chat/Makefile.linux
3 @@ -25,7 +25,7 @@ chat.o: chat.c
4
5 install: chat
6 mkdir -p $(BINDIR) $(MANDIR)
7 - $(INSTALL) -s -c chat $(BINDIR)
8 + $(INSTALL) -c chat $(BINDIR)
9 $(INSTALL) -c -m 644 chat.8 $(MANDIR)
10
11 clean:
12 --- a/pppd/Makefile.linux
13 +++ b/pppd/Makefile.linux
14 @@ -99,7 +99,7 @@ ifdef USE_SRP
15 CFLAGS += -DUSE_SRP -DOPENSSL -I/usr/local/ssl/include
16 LIBS += -lsrp -L/usr/local/ssl/lib -lcrypto
17 TARGETS += srp-entry
18 -EXTRAINSTALL = $(INSTALL) -s -c -m 555 srp-entry $(BINDIR)/srp-entry
19 +EXTRAINSTALL = $(INSTALL) -c -m 555 srp-entry $(BINDIR)/srp-entry
20 MANPAGES += srp-entry.8
21 EXTRACLEAN += srp-entry.o
22 NEEDDES=y
23 @@ -200,7 +200,7 @@ all: $(TARGETS)
24 install: pppd
25 mkdir -p $(BINDIR) $(MANDIR)
26 $(EXTRAINSTALL)
27 - $(INSTALL) -s -c -m 555 pppd $(BINDIR)/pppd
28 + $(INSTALL) -c -m 555 pppd $(BINDIR)/pppd
29 if chgrp pppusers $(BINDIR)/pppd 2>/dev/null; then \
30 chmod o-rx,u+s $(BINDIR)/pppd; fi
31 $(INSTALL) -c -m 444 pppd.8 $(MANDIR)
32 --- a/pppd/plugins/radius/Makefile.linux
33 +++ b/pppd/plugins/radius/Makefile.linux
34 @@ -36,9 +36,9 @@ all: $(PLUGIN)
35
36 install: all
37 $(INSTALL) -d -m 755 $(LIBDIR)
38 - $(INSTALL) -s -c -m 755 radius.so $(LIBDIR)
39 - $(INSTALL) -s -c -m 755 radattr.so $(LIBDIR)
40 - $(INSTALL) -s -c -m 755 radrealms.so $(LIBDIR)
41 + $(INSTALL) -c -m 755 radius.so $(LIBDIR)
42 + $(INSTALL) -c -m 755 radattr.so $(LIBDIR)
43 + $(INSTALL) -c -m 755 radrealms.so $(LIBDIR)
44 $(INSTALL) -c -m 444 pppd-radius.8 $(MANDIR)
45 $(INSTALL) -c -m 444 pppd-radattr.8 $(MANDIR)
46
47 --- a/pppd/plugins/rp-pppoe/Makefile.linux
48 +++ b/pppd/plugins/rp-pppoe/Makefile.linux
49 @@ -39,9 +39,9 @@ rp-pppoe.so: libplugin.a plugin.o
50
51 install: all
52 $(INSTALL) -d -m 755 $(LIBDIR)
53 - $(INSTALL) -s -c -m 4550 rp-pppoe.so $(LIBDIR)
54 + $(INSTALL) -c -m 4550 rp-pppoe.so $(LIBDIR)
55 $(INSTALL) -d -m 755 $(BINDIR)
56 - $(INSTALL) -s -c -m 555 pppoe-discovery $(BINDIR)
57 + $(INSTALL) -c -m 555 pppoe-discovery $(BINDIR)
58
59 clean:
60 rm -f *.o *.so
61 --- a/pppdump/Makefile.linux
62 +++ b/pppdump/Makefile.linux
63 @@ -17,5 +17,5 @@ clean:
64
65 install:
66 mkdir -p $(BINDIR) $(MANDIR)
67 - $(INSTALL) -s -c pppdump $(BINDIR)
68 + $(INSTALL) -c pppdump $(BINDIR)
69 $(INSTALL) -c -m 444 pppdump.8 $(MANDIR)
70 --- a/pppstats/Makefile.linux
71 +++ b/pppstats/Makefile.linux
72 @@ -22,7 +22,7 @@ all: pppstats
73
74 install: pppstats
75 -mkdir -p $(MANDIR)
76 - $(INSTALL) -s -c pppstats $(BINDIR)
77 + $(INSTALL) -c pppstats $(BINDIR)
78 $(INSTALL) -c -m 444 pppstats.8 $(MANDIR)
79
80 pppstats: $(PPPSTATSRCS)
This page took 0.049655 seconds and 5 git commands to generate.