зеркало из https://github.com/microsoft/git.git
Merge branch 'js/mingw-gcc-stack-protect'
Windows update. * js/mingw-gcc-stack-protect: mingw: enable stack smashing protector
This commit is contained in:
Коммит
32749c35a4
|
@ -655,7 +655,8 @@ else
|
||||||
BASIC_LDFLAGS += -Wl,--large-address-aware
|
BASIC_LDFLAGS += -Wl,--large-address-aware
|
||||||
endif
|
endif
|
||||||
CC = gcc
|
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
|
EXTLIBS += -lntdll
|
||||||
INSTALL = /bin/install
|
INSTALL = /bin/install
|
||||||
NO_R_TO_GCC_LINKER = YesPlease
|
NO_R_TO_GCC_LINKER = YesPlease
|
||||||
|
|
Загрузка…
Ссылка в новой задаче