forked from skeeto/w64devkit
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvariant-x86.patch
More file actions
46 lines (44 loc) · 1.28 KB
/
Copy pathvariant-x86.patch
File metadata and controls
46 lines (44 loc) · 1.28 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
--- a/Dockerfile
+++ b/Dockerfile
@@ -62,3 +62,3 @@
-ARG ARCH=x86_64-w64-mingw32
+ARG ARCH=i686-w64-mingw32
@@ -90,2 +90,3 @@
--with-default-msvcrt=msvcrt-os \
+ --with-default-win32-winnt=0x0501 \
&& make -j$(nproc) \
@@ -102,2 +103,3 @@
--with-sysroot=/bootstrap \
+ --with-arch=pentium4 \
--target=$ARCH \
@@ -138,4 +140,4 @@
--disable-dependency-tracking \
- --disable-lib32 \
- --enable-lib64 \
+ --enable-lib32 \
+ --disable-lib64 \
CFLAGS="-Os" \
@@ -223,2 +225,3 @@
--with-default-msvcrt=msvcrt-os \
+ --with-default-win32-winnt=0x0501 \
&& make -j$(nproc) \
@@ -233,4 +236,4 @@
--disable-dependency-tracking \
- --disable-lib32 \
- --enable-lib64 \
+ --enable-lib32 \
+ --disable-lib64 \
CFLAGS="-Os" \
@@ -257,2 +260,3 @@
--with-native-system-header-dir=/include \
+ --with-arch=pentium4 \
--target=$ARCH \
@@ -277,2 +281,3 @@
--disable-win32-registry \
+ --disable-win32-utf8-manifest \
--enable-mingw-wildcard \
@@ -384,3 +389,3 @@
RUN cat $PREFIX/src/busybox-*.patch | patch -p1 \
- && make mingw64u_defconfig \
+ && make mingw64_defconfig \
&& sed -ri 's/^(CONFIG_AR)=y/\1=n/' .config \