File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -1010,6 +1010,13 @@ if test -z "$CFLAGS"; then
10101010 CFLAGS=
10111011fi
10121012
1013+ dnl Build 32-bit mingw-w64 platform with 64-bit time support.
1014+ case $host in
1015+ i686-*-mingw*)
1016+ CFLAGS="$CFLAGS -D__MINGW_USE_VC2005_COMPAT"
1017+ ;;
1018+ esac
1019+
10131020dnl Emscripten SDK and WASI SDK default to wasm32.
10141021dnl On Emscripten use MEMORY64 setting to build target wasm64-emscripten.
10151022dnl for wasm64.
@@ -2646,7 +2653,7 @@ yes)
26462653 # this only occues on mingw
26472654 case $host in
26482655 *-*-mingw*)
2649- CFLAGS_NODIST="$CFLAGS_NODIST -Wno-error=incompatible-pointer-types -D__MINGW_USE_VC2005_COMPAT "
2656+ CFLAGS_NODIST="$CFLAGS_NODIST -Wno-error=incompatible-pointer-types"
26502657 ;;
26512658 esac
26522659
You can’t perform that action at this time.
0 commit comments