configure: Hopefully resolve windows simulator builds issues for hosted targets

Change-Id: If4ded4cb3a19603ea0e5e0b7d3f4c281492dbc8b
This commit is contained in:
Solomon Peachy 2024-06-26 09:43:42 -04:00
parent 3611266d0f
commit 8e280bdda8

2
tools/configure vendored
View file

@ -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"