|
1 | 1 | --- a/Dockerfile
|
2 | 2 | +++ b/Dockerfile
|
3 |
| -@@ -65,3 +65,3 @@ COPY src/w64devkit.c src/w64devkit.ico \ |
| 3 | +@@ -62,3 +62,3 @@ |
4 | 4 |
|
5 | 5 | -ARG ARCH=x86_64-w64-mingw32
|
6 | 6 | +ARG ARCH=i686-w64-mingw32
|
7 | 7 |
|
8 |
| -@@ -93,2 +93,3 @@ RUN /mingw-w64-v$MINGW_VERSION/mingw-w64-headers/configure \ |
| 8 | +@@ -90,2 +90,3 @@ |
9 | 9 | --with-default-msvcrt=msvcrt-os \
|
10 | 10 | + --with-default-win32-winnt=0x0501 \
|
11 | 11 | && make -j$(nproc) \
|
12 |
| -@@ -99,2 +100,5 @@ RUN ln -s $ARCH mingw |
13 |
| - |
14 |
| -+# Disable UTF-8 manifest for Windows XP (#58) |
15 |
| -+RUN echo >/gcc-$GCC_VERSION/gcc/config/i386/winnt-utf8.manifest |
16 |
| -+ |
17 |
| - WORKDIR /x-gcc |
18 |
| -@@ -103,2 +107,3 @@ RUN /gcc-$GCC_VERSION/configure \ |
| 12 | +@@ -102,2 +103,3 @@ |
19 | 13 | --with-sysroot=/bootstrap \
|
20 | 14 | + --with-arch=pentium4 \
|
21 | 15 | --target=$ARCH \
|
22 |
| -@@ -132,4 +137,4 @@ RUN /mingw-w64-v$MINGW_VERSION/mingw-w64-crt/configure \ |
| 16 | +@@ -138,4 +140,4 @@ |
23 | 17 | --disable-dependency-tracking \
|
24 | 18 | - --disable-lib32 \
|
25 | 19 | - --enable-lib64 \
|
26 | 20 | + --enable-lib32 \
|
27 | 21 | + --disable-lib64 \
|
28 | 22 | CFLAGS="-Os" \
|
29 |
| -@@ -217,2 +222,3 @@ RUN /mingw-w64-v$MINGW_VERSION/mingw-w64-headers/configure \ |
| 23 | +@@ -223,2 +225,3 @@ |
30 | 24 | --with-default-msvcrt=msvcrt-os \
|
31 | 25 | + --with-default-win32-winnt=0x0501 \
|
32 | 26 | && make -j$(nproc) \
|
33 |
| -@@ -227,4 +233,4 @@ RUN /mingw-w64-v$MINGW_VERSION/mingw-w64-crt/configure \ |
| 27 | +@@ -233,4 +236,4 @@ |
34 | 28 | --disable-dependency-tracking \
|
35 | 29 | - --disable-lib32 \
|
36 | 30 | - --enable-lib64 \
|
37 | 31 | + --enable-lib32 \
|
38 | 32 | + --disable-lib64 \
|
39 | 33 | CFLAGS="-Os" \
|
40 |
| -@@ -251,2 +257,3 @@ RUN /gcc-$GCC_VERSION/configure \ |
| 34 | +@@ -257,2 +260,3 @@ |
41 | 35 | --with-native-system-header-dir=/include \
|
42 | 36 | + --with-arch=pentium4 \
|
43 | 37 | --target=$ARCH \
|
| 38 | +@@ -277,2 +281,3 @@ |
| 39 | + --disable-win32-registry \ |
| 40 | ++ --disable-win32-utf8-manifest \ |
| 41 | + --enable-mingw-wildcard \ |
0 commit comments