aw-overlay/app-backup/urbackup-client/files/urbackup-client-2.2.6-gcc-fortify.patch
2018-07-20 22:18:29 -04:00

12 lines
755 B
Diff

--- urbackup-client-2.2.6.0/Makefile.in 2018-05-17 08:55:38.000000000 -0400
+++ urbackup-client-2.2.6.0/Makefile.in 2018-07-20 21:33:01.871879361 -0400
@@ -959,7 +959,7 @@
fileservplugin/PipeFileBase.cpp \
fileservplugin/FileMetadataPipe.cpp \
fileservplugin/PipeFileTar.cpp fileservplugin/PipeFileExt.cpp
-@WITH_FORTIFY_TRUE@FORTIFY_FLAGS = -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE
+@WITH_FORTIFY_TRUE@FORTIFY_FLAGS = -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fPIE
@WITH_FORTIFY_TRUE@FORTIFY_ldflags = -Wl,-z,relro
urbackupclientbackend_LDADD = $(PTHREAD_LIBS) $(DLOPEN_LIBS) \
$(am__append_2)