Debian Codegraph @

debian/patches/Add-hardening-flag.patch

raw symbols SCIP
1 From: Hilko Bengen <[email protected]>
2 Date: Tue, 8 Dec 2020 22:42:28 +0100
3 Subject: Add hardening flag
4
5 ---
6 Makefile | 2 +-
7 1 file changed, 1 insertion(+), 1 deletion(-)
8
9 Index: capstone/Makefile
10 ===================================================================
11 --- capstone.orig/Makefile
12 +++ capstone/Makefile
13 @@ -58,7 +58,7 @@ ifneq ($(OS),OS/390)
14 CFLAGS += -fPIC
15 endif
16 else
17 -CFLAGS += -fPIC -Wall -Wwrite-strings -Wmissing-prototypes -Iinclude
18 +CFLAGS += -fPIC -Wall -Wwrite-strings -Wmissing-prototypes -Iinclude -D_FORTIFY_SOURCE=2
19 endif
20
21 ifeq ($(CAPSTONE_USE_SYS_DYN_MEM),yes)