diff options
Diffstat (limited to 'net-ftp/vsftpd/files/vsftpd-3.0.0-Makefile.patch')
-rw-r--r-- | net-ftp/vsftpd/files/vsftpd-3.0.0-Makefile.patch | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/net-ftp/vsftpd/files/vsftpd-3.0.0-Makefile.patch b/net-ftp/vsftpd/files/vsftpd-3.0.0-Makefile.patch deleted file mode 100644 index 5df3b03f3fa9..000000000000 --- a/net-ftp/vsftpd/files/vsftpd-3.0.0-Makefile.patch +++ /dev/null @@ -1,34 +0,0 @@ -Index: vsftpd-3.0.0/Makefile -=================================================================== ---- vsftpd-3.0.0.orig/Makefile -+++ vsftpd-3.0.0/Makefile -@@ -1,16 +1,16 @@ - # Makefile for systems with GNU tools --CC = gcc -+CC ?= gcc - INSTALL = install - IFLAGS = -idirafter dummyinc - #CFLAGS = -g --CFLAGS = -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 \ -- -Wall -W -Wshadow -Werror -Wformat-security \ -+CFLAGS += -fPIE -fstack-protector --param=ssp-buffer-size=4 \ -+ -Wall -W -Wshadow -Wformat-security \ - -D_FORTIFY_SOURCE=2 \ - #-pedantic -Wconversion - - LIBS = `./vsf_findlibs.sh` - LINK = --LDFLAGS = -fPIE -pie -Wl,-z,relro -Wl,-z,now -+LDFLAGS += -fPIE -pie -Wl,-z,relro -Wl,-z,now - - OBJS = main.o utility.o prelogin.o ftpcmdio.o postlogin.o privsock.o \ - tunables.o ftpdataio.o secbuf.o ls.o \ -@@ -26,7 +26,7 @@ OBJS = main.o utility.o prelogin.o ftpcm - $(CC) -c $*.c $(CFLAGS) $(IFLAGS) - - vsftpd: $(OBJS) -- $(CC) -o vsftpd $(OBJS) $(LINK) $(LDFLAGS) $(LIBS) -+ $(CC) -o vsftpd $(LDFLAGS) $(OBJS) $(LINK) $(LDFLAGS) $(LIBS) - - install: - if [ -x /usr/local/sbin ]; then \ |