mirror of
https://github.com/skeeto/w64devkit.git
synced 2025-08-05 00:22:07 +03:00
Also optimize the bootstrap CRT by size
This commit is contained in:
@@ -99,7 +99,9 @@ WORKDIR /x-mingw-crt
|
|||||||
RUN /mingw-w64-v$MINGW_VERSION/mingw-w64-crt/configure \
|
RUN /mingw-w64-v$MINGW_VERSION/mingw-w64-crt/configure \
|
||||||
--prefix=/bootstrap/x86_64-w64-mingw32 \
|
--prefix=/bootstrap/x86_64-w64-mingw32 \
|
||||||
--with-sysroot=/bootstrap/x86_64-w64-mingw32 \
|
--with-sysroot=/bootstrap/x86_64-w64-mingw32 \
|
||||||
--host=x86_64-w64-mingw32
|
--host=x86_64-w64-mingw32 \
|
||||||
|
CFLAGS="-Os" \
|
||||||
|
LDFLAGS="-s"
|
||||||
RUN make -j$(nproc)
|
RUN make -j$(nproc)
|
||||||
RUN make install
|
RUN make install
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user