From: Hilko Bengen Date: Tue, 8 Dec 2020 22:42:28 +0100 Subject: Add hardening flag --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: capstone/Makefile =================================================================== --- capstone.orig/Makefile +++ capstone/Makefile @@ -58,7 +58,7 @@ ifneq ($(OS),OS/390) CFLAGS += -fPIC endif else -CFLAGS += -fPIC -Wall -Wwrite-strings -Wmissing-prototypes -Iinclude +CFLAGS += -fPIC -Wall -Wwrite-strings -Wmissing-prototypes -Iinclude -D_FORTIFY_SOURCE=2 endif ifeq ($(CAPSTONE_USE_SYS_DYN_MEM),yes)