From: Jan Engelhardt Date: Tue, 22 Jan 2008 16:32:07 +0000 (-0500) Subject: btrfs-progs: build with -D_FORTIFY_SOURCE=2 X-Git-Tag: upstream/0.20.rc1~329 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fd4bca3dfea947f7031721be0a6ebf365b313fb8;p=platform%2Fupstream%2Fbtrfs-progs.git btrfs-progs: build with -D_FORTIFY_SOURCE=2 Add -D_FORTIFY_SOURCE=2 to the makeflags. It has been very helpful in finding problems. Signed-off-by: Jan Engelhardt --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- diff --git a/Makefile b/Makefile index a230301..115be6b 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ CC=gcc -AM_CFLAGS = -Wall -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 +AM_CFLAGS = -Wall -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 CFLAGS = -g -Werror objects = ctree.o disk-io.o radix-tree.o extent-tree.o print-tree.o \ root-tree.o dir-item.o hash.o file-item.o inode-item.o \