docker: Build MinGW with -mcmodel=small.

(cherry picked from commit c90d4c34d8)
This commit is contained in:
Rémi Bernon 2022-12-11 15:06:06 +01:00 committed by Arkadiusz Hiler
parent e1d797fd97
commit 470f3084eb
4 changed files with 18 additions and 1 deletions

View file

@ -15,6 +15,7 @@ RUN wget -q @MINGW_URLBASE@/@MINGW_SOURCE@ \
--prefix=/usr/@ARCH@-w64-mingw32/ \
--host=@ARCH@-w64-mingw32 \
--disable-shared \
@ARCH_FLAGS@ \
MAKEINFO=true \
&& make --quiet -j@J@ MAKEINFO=true \
&& make --quiet -j@J@ MAKEINFO=true install-strip DESTDIR=/opt \