1
0
mirror of https://github.com/skeeto/w64devkit.git synced 2025-07-31 15:04:21 +03:00

Also optimize the bootstrap CRT by size

This commit is contained in:
Christopher Wellons
2020-10-20 13:21:14 -04:00
parent 624671921e
commit 11c0e00943

View File

@ -99,7 +99,9 @@ WORKDIR /x-mingw-crt
RUN /mingw-w64-v$MINGW_VERSION/mingw-w64-crt/configure \
--prefix=/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 install