Skip to content

Commit 2f6a9a6

Browse files
committed
Merge branch 'mingw-stack-smashing-protector'
This is GCC's attempt at making things less predictable and thereby reduce the attack surface for malware. Signed-off-by: Johannes Schindelin <[email protected]>
2 parents fe4dab9 + 169e65e commit 2f6a9a6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

config.mak.uname

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -649,7 +649,8 @@ else
649649
BASIC_LDFLAGS += -Wl,--large-address-aware
650650
endif
651651
CC = gcc
652-
COMPAT_CFLAGS += -D__USE_MINGW_ANSI_STDIO=0 -DDETECT_MSYS_TTY
652+
COMPAT_CFLAGS += -D__USE_MINGW_ANSI_STDIO=0 -DDETECT_MSYS_TTY \
653+
-fstack-protector-strong
653654
EXTLIBS += -lntdll
654655
INSTALL = /bin/install
655656
NO_R_TO_GCC_LINKER = YesPlease

0 commit comments

Comments
 (0)