packages/net/xl2tpd/patches/140-control_src_cflags.patch

12 lines
262 B
Diff
Raw Normal View History

--- 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)