From 8e31eae4755503cfe4c84231cf00b046aafa5e8c Mon Sep 17 00:00:00 2001 From: Christopher Wellons Date: Fri, 17 Sep 2021 16:19:01 -0400 Subject: [PATCH] Fix Mingw-w64 i686 Windows XP regression https://sourceforge.net/p/mingw-w64/bugs/821/ --- Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Dockerfile b/Dockerfile index 7cd1a0f..c50a0d6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -67,6 +67,10 @@ RUN /binutils-$BINUTILS_VERSION/configure \ RUN make -j$(nproc) RUN make install +# Fixes i686 Windows XP regression +# https://sourceforge.net/p/mingw-w64/bugs/821/ +RUN sed -i /OpenThreadToken/d /mingw-w64-v$MINGW_VERSION/mingw-w64-crt/lib32/kernel32.def + WORKDIR /x-mingw-headers RUN /mingw-w64-v$MINGW_VERSION/mingw-w64-headers/configure \ --prefix=/bootstrap/x86_64-w64-mingw32 \