aboutsummaryrefslogtreecommitdiff
path: root/Makefile.flags
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2020-11-11 08:46:02 +0000
committerRon Yorston <rmy@pobox.com>2020-11-11 08:46:02 +0000
commit13eb34205de6e6b6d0e942b92deed921b1f5bcc4 (patch)
tree106fda3a536e1608948b7ac78cd7886db2170bbe /Makefile.flags
parenta20dad67289d23f965b4dfad45c32c593c8b7671 (diff)
downloadbusybox-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.flags2
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
148ifeq ($(CONFIG_PLATFORM_MINGW32),y) 148ifeq ($(CONFIG_PLATFORM_MINGW32),y)
149CFLAGS += -Iwin32 -DHAVE_STRING_H=1 -DHAVE_CONFIG_H=0 -fno-builtin-stpcpy -fno-ident -fno-builtin-strndup 149CFLAGS += -Iwin32 -DHAVE_STRING_H=1 -DHAVE_CONFIG_H=0 -fno-builtin-stpcpy -fno-ident -fno-builtin-strndup
150EXEEXT = .exe 150EXEEXT = .exe
151LDLIBS += ws2_32 151LDLIBS += ws2_32 ssp
152endif 152endif
153 153
154ifneq ($(CONFIG_PLATFORM_MINGW32),y) 154ifneq ($(CONFIG_PLATFORM_MINGW32),y)