Skip to content

Commit 4b125b9

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 b947150 + ca1756a commit 4b125b9

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
@@ -655,7 +655,8 @@ else
655655
BASIC_LDFLAGS += -Wl,--large-address-aware
656656
endif
657657
CC = gcc
658-
COMPAT_CFLAGS += -D__USE_MINGW_ANSI_STDIO=0 -DDETECT_MSYS_TTY
658+
COMPAT_CFLAGS += -D__USE_MINGW_ANSI_STDIO=0 -DDETECT_MSYS_TTY \
659+
-fstack-protector-strong
659660
EXTLIBS += -lntdll
660661
INSTALL = /bin/install
661662
NO_R_TO_GCC_LINKER = YesPlease

0 commit comments

Comments
 (0)