Branch: refs/heads/master Author: Enrico Tröger enrico.troeger@uvena.de Committer: Enrico Tröger enrico.troeger@uvena.de Date: Tue, 03 Oct 2023 12:46:11 UTC Commit: 608f4df1e6aac75f830472ead9ad35fad9cf0f79 https://github.com/geany/infrastructure/commit/608f4df1e6aac75f830472ead9ad3...
Log Message: ----------- Builders: Use "posix" variant of the mingw64 cross compiler
The mingw64 cross compiler lacks support at least for "std:future" feature in C++ (https://sourceforge.net/p/mingw-w64/bugs/959/). Debian offers a "posix" variant which implements it.
Modified Paths: -------------- builders/Dockerfile.mingw64
Modified: builders/Dockerfile.mingw64 8 lines changed, 7 insertions(+), 1 deletions(-) =================================================================== @@ -47,7 +47,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/g... + # 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
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).