use modern customized mingw-w64-i686 toolchain.

This commit is contained in:
crazii
2023-12-03 06:44:05 +08:00
parent 5eb3e9e3f3
commit ec19284350

View File

@@ -73,6 +73,12 @@ LDFLAGS="${nld}${LDFLAGS}"
#LIBS=" -lopencow ${LIBS} " # should be the first one before all win32 libs.
export LDFLAGS #LIBS
#find /mingw32/include/pdcurses/curses.h, needed for --enable-debug
CFLAGS="${CFLAGS} -I/mingw32/include/pdcurses "
CXXFLAGS="${CXXFLAGS} -I/mingw32/include/pdcurses "
CPPFLAGS="${CPPFLAGS} -I/mingw32/include/pdcurses "
export CFLAGS CPPFLAGS CXXFLAGS
# now compile ourself
echo "Compiling DOSBox-X"
chmod +x configure