2012-04-11 14:03:42 +02:00
|
|
|
Index: Makefile
|
|
|
|
===================================================================
|
|
|
|
--- Makefile.orig 2012-04-03 09:21:18.000000000 +0200
|
|
|
|
+++ Makefile 2012-04-10 16:10:53.545547162 +0200
|
|
|
|
@@ -9,7 +9,6 @@
|
|
|
|
#-pedantic -Wconversion
|
2007-01-16 00:40:43 +01:00
|
|
|
|
|
|
|
LIBS = `./vsf_findlibs.sh`
|
|
|
|
-LINK = -Wl,-s
|
2012-04-11 14:03:42 +02:00
|
|
|
LDFLAGS = -fPIE -pie -Wl,-z,relro -Wl,-z,now
|
2007-01-16 00:40:43 +01:00
|
|
|
|
|
|
|
OBJS = main.o utility.o prelogin.o ftpcmdio.o postlogin.o privsock.o \
|
2012-04-11 14:03:42 +02:00
|
|
|
@@ -26,7 +25,7 @@
|
|
|
|
$(CC) -c $*.c $(CFLAGS) $(IFLAGS)
|
|
|
|
|
|
|
|
vsftpd: $(OBJS)
|
|
|
|
- $(CC) -o vsftpd $(OBJS) $(LINK) $(LDFLAGS) $(LIBS)
|
|
|
|
+ $(CC) -o vsftpd $(OBJS) $(LDFLAGS) $(LIBS)
|
|
|
|
|
|
|
|
install:
|
|
|
|
if [ -x /usr/local/sbin ]; then \
|