packages/net/xl2tpd/patches/100-makefile_opt_flags.patch
jow c1d2e29ad6 [packages] xl2tpd: update to v1.2.8, refresh patches (#9030)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@26040 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-11 20:04:43 +00:00

13 lines
490 B
Diff

--- a/Makefile
+++ b/Makefile
@@ -90,7 +90,8 @@ OSFLAGS?= -DLINUX -I$(KERNELSRC)/include
IPFLAGS?= -DIP_ALLOCATION
-CFLAGS+= $(DFLAGS) -O2 -fno-builtin -Wall -DSANITY $(OSFLAGS) $(IPFLAGS)
+OFLAGS=-O2
+CFLAGS+= $(DFLAGS) $(OFLAGS) -fno-builtin -Wall -DSANITY $(OSFLAGS) $(IPFLAGS)
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}