From ec1928435093a572c4fc2ad0f6b4ec5a20f5eebd Mon Sep 17 00:00:00 2001 From: crazii Date: Sun, 3 Dec 2023 06:44:05 +0800 Subject: [PATCH] use modern customized mingw-w64-i686 toolchain. --- build-mingw-lowend9x | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/build-mingw-lowend9x b/build-mingw-lowend9x index 435919e29..3cf589041 100644 --- a/build-mingw-lowend9x +++ b/build-mingw-lowend9x @@ -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