[package] prevent kmod-switch from accessing nvram on brcm63xx (#5035)
[openwrt.git] / package / ppp / patches / 204-opt_flags.patch
1 Index: ppp-2.4.3/pppd/plugins/radius/Makefile.linux
2 ===================================================================
3 --- ppp-2.4.3.orig/pppd/plugins/radius/Makefile.linux 2007-06-04 13:22:12.463960472 +0200
4 +++ ppp-2.4.3/pppd/plugins/radius/Makefile.linux 2007-06-04 13:22:12.705923688 +0200
5 @@ -12,7 +12,8 @@
6 INSTALL = install
7
8 PLUGIN=radius.so radattr.so radrealms.so
9 -CFLAGS=-I. -I../.. -I../../../include -O2 -fPIC -DRC_LOG_FACILITY=LOG_DAEMON
10 +COPTS = -O2
11 +CFLAGS=-I. -I../.. -I../../../include $(COPTS) -fPIC -DRC_LOG_FACILITY=LOG_DAEMON
12
13 # Uncomment the next line to include support for Microsoft's
14 # MS-CHAP authentication protocol.
15 Index: ppp-2.4.3/pppdump/Makefile.linux
16 ===================================================================
17 --- ppp-2.4.3.orig/pppdump/Makefile.linux 2007-06-04 13:22:12.468959712 +0200
18 +++ ppp-2.4.3/pppdump/Makefile.linux 2007-06-04 13:22:12.705923688 +0200
19 @@ -2,7 +2,8 @@
20 BINDIR = $(DESTDIR)/sbin
21 MANDIR = $(DESTDIR)/share/man/man8
22
23 -CFLAGS= -O -I../include/net
24 +COPTS = -O
25 +CFLAGS= $(COPTS) -I../include/net
26 OBJS = pppdump.o bsd-comp.o deflate.o zlib.o
27
28 INSTALL= install
This page took 0.043783 seconds and 5 git commands to generate.