diff --git a/Dockerfile b/Dockerfile index d7989c3..ff0fea3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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