summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2020-07-09 16:03:57 +0100
committerRon Yorston <rmy@pobox.com>2020-07-09 16:03:57 +0100
commit01a256149453c0dc108a7063ac48f8498c4663da (patch)
tree0dc1883c57c58a60646bad4caa04ccc53360f7c5
parent251c93fdeca77a7bed0075bcd74d55ad741f7bbb (diff)
downloadbusybox-w32-FRP-3532-g01a256149.tar.gz
busybox-w32-FRP-3532-g01a256149.tar.bz2
busybox-w32-FRP-3532-g01a256149.zip
win32: alter build flagsFRP-3532-g01a256149
Add -fno-builtin-strndup to the build flags, otherwise builds with link-time optimisation can't find strndup.
-rw-r--r--Makefile.flags2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.flags b/Makefile.flags
index 2c3fd0d25..ef9200f93 100644
--- a/Makefile.flags
+++ b/Makefile.flags
@@ -146,7 +146,7 @@ export SYSROOT=$(CONFIG_SYSROOT)
146endif 146endif
147 147
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 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
152endif 152endif