3e76d493d2
add openwrt patches.
13 lines
345 B
Diff
13 lines
345 B
Diff
--- Makefile.orig
|
|
+++ Makefile
|
|
@@ -8,8 +8,8 @@ CFLAGS = -O2 -fPIE -fstack-protector --p
|
|
-D_FORTIFY_SOURCE=2 \
|
|
#-pedantic -Wconversion
|
|
|
|
-LIBS = `./vsf_findlibs.sh`
|
|
-LINK = -Wl,-s
|
|
+LIBS = -lssl -lcrypt -lnsl -lssl
|
|
+LINK =
|
|
LDFLAGS = -fPIE -pie -Wl,-z,relro -Wl,-z,now
|
|
|
|
OBJS = main.o utility.o prelogin.o ftpcmdio.o postlogin.o privsock.o \
|