From 8e280bdda84dabfd6d17eb52cd51ea78cfb8829a Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Wed, 26 Jun 2024 09:43:42 -0400 Subject: configure: Hopefully resolve windows simulator builds issues for hosted targets Change-Id: If4ded4cb3a19603ea0e5e0b7d3f4c281492dbc8b --- tools/configure | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/configure b/tools/configure index 43f02f5643..35f4b6d107 100755 --- a/tools/configure +++ b/tools/configure @@ -311,6 +311,8 @@ simcc () { # add cross-compiler option(s) GCCOPTS="$GCCOPTS -Wno-format" LDOPTS="$LDOPTS -mconsole -static" + GLOBAL_LDOPTS=`echo $GLOBAL_LDOPTS | sed -e s/\-Wl,-z,defs//` + LDOPTS=`echo $LDOPTS | sed -e s/-ldl// -e s/-lrt// -e s/-lasound//` output="$output.exe" winbuild="yes" -- cgit v1.2.3