mirror of
https://github.com/kenzok8/small-package
synced 2025-01-08 13:27:36 +08:00
14 lines
338 B
Diff
14 lines
338 B
Diff
--- a/Makefile
|
|
+++ b/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 = -lcrypt -lnsl -luci
|
|
+LINK =
|
|
LDFLAGS = -fPIE -pie -Wl,-z,relro -Wl,-z,now
|
|
|
|
OBJS = main.o utility.o prelogin.o ftpcmdio.o postlogin.o privsock.o \
|