Skip to content

Commit

Permalink
Merge pull request #11 from geany/use_mingw_posix_crosscompiler
Browse files Browse the repository at this point in the history
Builders: Use "posix" variant of the mingw64 cross compiler
  • Loading branch information
eht16 authored Oct 11, 2023
2 parents 1531822 + 608f4df commit 4554624
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion builders/Dockerfile.mingw64
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,13 @@ RUN set -ex && \
# install NSIS and exiftool to inspect binary metadata
nsis libimage-exiftool-perl osslsigncode \
# Geany build dependencies \
python3-lxml python3-docutils
python3-lxml python3-docutils && \
# Use the "posix" variant of the mingw64 cross compiler to have support for recent C++ features
# like "std:future", see
# https://salsa.debian.org/mingw-w64-team/gcc-mingw-w64/-/blob/master/debian/gcc-mingw-w64-base.README.Debian
# and https://sourceforge.net/p/mingw-w64/bugs/959/ for details.
update-alternatives --set x86_64-w64-mingw32-gcc /usr/bin/x86_64-w64-mingw32-gcc-posix && \
update-alternatives --set x86_64-w64-mingw32-g++ /usr/bin/x86_64-w64-mingw32-g++-posix


# copy scripts
Expand Down

0 comments on commit 4554624

Please sign in to comment.