aw-overlay/app-backup/urbackup-client/files/urbackup-client-2.0.36-gcc-fortify.patch
2018-07-20 21:12:15 -04:00

12 lines
731 B
Diff

--- urbackup-client-2.0.36.0/Makefile.in.orig 2016-12-11 06:35:06.995980034 +0000
+++ urbackup-client-2.0.36.0/Makefile.in 2016-12-11 06:35:38.645979659 +0000
@@ -935,7 +935,7 @@
fileservplugin/PipeFileBase.cpp \
fileservplugin/FileMetadataPipe.cpp \
fileservplugin/PipeFileTar.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)