diff options
author | Ron Yorston <rmy@pobox.com> | 2020-11-11 08:46:02 +0000 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2020-11-11 08:46:02 +0000 |
commit | 13eb34205de6e6b6d0e942b92deed921b1f5bcc4 (patch) | |
tree | 106fda3a536e1608948b7ac78cd7886db2170bbe /Makefile.flags | |
parent | a20dad67289d23f965b4dfad45c32c593c8b7671 (diff) | |
download | busybox-w32-13eb34205de6e6b6d0e942b92deed921b1f5bcc4.tar.gz busybox-w32-13eb34205de6e6b6d0e942b92deed921b1f5bcc4.tar.bz2 busybox-w32-13eb34205de6e6b6d0e942b92deed921b1f5bcc4.zip |
build: add ssp library
With recent MinGW-w64 we get an undefined reference to __strcpy_chk
if we don't include ssp.
https://sourceforge.net/p/mingw-w64/bugs/818/
Diffstat (limited to 'Makefile.flags')
-rw-r--r-- | Makefile.flags | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.flags b/Makefile.flags index ef9200f93..866e2daf8 100644 --- a/Makefile.flags +++ b/Makefile.flags | |||
@@ -148,7 +148,7 @@ endif | |||
148 | ifeq ($(CONFIG_PLATFORM_MINGW32),y) | 148 | ifeq ($(CONFIG_PLATFORM_MINGW32),y) |
149 | CFLAGS += -Iwin32 -DHAVE_STRING_H=1 -DHAVE_CONFIG_H=0 -fno-builtin-stpcpy -fno-ident -fno-builtin-strndup | 149 | CFLAGS += -Iwin32 -DHAVE_STRING_H=1 -DHAVE_CONFIG_H=0 -fno-builtin-stpcpy -fno-ident -fno-builtin-strndup |
150 | EXEEXT = .exe | 150 | EXEEXT = .exe |
151 | LDLIBS += ws2_32 | 151 | LDLIBS += ws2_32 ssp |
152 | endif | 152 | endif |
153 | 153 | ||
154 | ifneq ($(CONFIG_PLATFORM_MINGW32),y) | 154 | ifneq ($(CONFIG_PLATFORM_MINGW32),y) |