Merge pull request #501 from dscho/stack-protector

Build Git with Stack Smashing Protector enabled
This commit is contained in:
Johannes Schindelin
2015-11-09 14:44:45 +01:00

View File

@@ -555,7 +555,8 @@ else
BASIC_LDFLAGS += -Wl,--large-address-aware
endif
CC = gcc
COMPAT_CFLAGS += -D__USE_MINGW_ANSI_STDIO=0 -DDETECT_MSYS_TTY
COMPAT_CFLAGS += -D__USE_MINGW_ANSI_STDIO=0 -DDETECT_MSYS_TTY \
-fstack-protector-strong
EXTLIBS += -lntdll
INSTALL = /bin/install
NO_R_TO_GCC_LINKER = YesPlease