exportLDFLAGS="-static-libgcc -static-libstdc++ -no-pthread --allow-multiple-definition"# workaround some other mingw bugs
exportLDFLAGS="-static-libgcc -static-libstdc++ -no-pthread -Wl,--allow-multiple-definition"# workaround some other mingw bugs
exportWINRC="i686-w64-mingw32-windres"
rm -rf build # clean build directory
./waf configure --sdl2=$TRAVIS_BUILD_DIR/SDL2_mingw/i686-w64-mingw32/ --disable-vgui --build-type=debug --verbose || die # can't compile VGUI support on MinGW, due to differnet C++ ABI