ppp: remove -ffunction-sections, -fdata-sections and -Wl,--gc-sections, it can cause...
[openwrt.git] / package / ppp / patches / 203-opt_flags.patch
1 --- a/pppd/plugins/radius/Makefile.linux
2 +++ b/pppd/plugins/radius/Makefile.linux
3 @@ -12,7 +12,8 @@ VERSION = $(shell awk -F '"' '/VERSION/
4 INSTALL = install
5
6 PLUGIN=radius.so radattr.so radrealms.so
7 -CFLAGS=-I. -I../.. -I../../../include -O2 -fPIC -DRC_LOG_FACILITY=LOG_DAEMON
8 +COPTS = -O2
9 +CFLAGS=-I. -I../.. -I../../../include $(COPTS) -fPIC -DRC_LOG_FACILITY=LOG_DAEMON
10
11 # Uncomment the next line to include support for Microsoft's
12 # MS-CHAP authentication protocol.
13 --- a/pppdump/Makefile.linux
14 +++ b/pppdump/Makefile.linux
15 @@ -2,7 +2,8 @@ DESTDIR = $(INSTROOT)@DESTDIR@
16 BINDIR = $(DESTDIR)/sbin
17 MANDIR = $(DESTDIR)/share/man/man8
18
19 -CFLAGS= -O -I../include/net
20 +COPTS = -O
21 +CFLAGS= $(COPTS) -I../include/net
22 OBJS = pppdump.o bsd-comp.o deflate.o zlib.o
23
24 INSTALL= install
This page took 0.043943 seconds and 5 git commands to generate.