packages/net/xl2tpd/patches/001-opt_flags.patch
nico 564b16d4fc update xl2tpd to 1.1.11, fix opt flags, rename ppp related config files, cleanup
git-svn-id: svn://svn.openwrt.org/openwrt/packages@8676 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-07 19:27:03 +00:00

14 lines
613 B
Diff

diff -ruN xl2tpd-1.1.11-old/Makefile xl2tpd-1.1.11-new/Makefile
--- xl2tpd-1.1.11-old/Makefile 2007-06-26 19:53:07.000000000 +0200
+++ xl2tpd-1.1.11-new/Makefile 2007-09-04 21:55:56.000000000 +0200
@@ -67,7 +67,8 @@
FFLAGS= -DIP_ALLOCATION
-CFLAGS+= $(DFLAGS) -O2 -fno-builtin -Wall -DSANITY $(OSFLAGS) $(FFLAGS)
+OFLAGS=-O2
+CFLAGS+= $(DFLAGS) $(OFLAGS) -fno-builtin -Wall -DSANITY $(OSFLAGS) $(FFLAGS)
HDRS=l2tp.h avp.h misc.h control.h call.h scheduler.h file.h aaa.h md5.h
OBJS=xl2tpd.o pty.o misc.o control.o avp.o call.o network.o avpsend.o scheduler.o file.o aaa.o md5.o
SRCS=${OBJS:.o=.c} ${HDRS}