xl2tpd: fix passing our CFLAGS
Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/packages@39938 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
11
net/xl2tpd/patches/140-control_src_cflags.patch
Normal file
11
net/xl2tpd/patches/140-control_src_cflags.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -115,7 +115,7 @@ $(EXEC): $(OBJS) $(HDRS)
|
||||
$(CC) $(LDFLAGS) -o $@ $(OBJS) $(LDLIBS)
|
||||
|
||||
$(CONTROL_EXEC): $(CONTROL_SRCS)
|
||||
- $(CC) $(CONTROL_SRCS) -o $@
|
||||
+ $(CC) $(CFLAGS) $(CONTROL_SRCS) -o $@
|
||||
|
||||
romfs:
|
||||
$(ROMFSINST) /bin/$(EXEC)
|
Reference in New Issue
Block a user