gcc: fix cross-win32 build of libstdc++

This commit is contained in:
David McFarland
2025-09-09 14:00:49 -03:00
parent 118c4334ec
commit 0db0ac301a
@@ -224,6 +224,12 @@ in
.${majorVersion} or [ ]
)
++ optional (targetPlatform.isWindows || targetPlatform.isCygwin) (fetchpatch {
name = "libstdc-fix-compilation-in-freestanding-win32.patch";
url = "https://inbox.sourceware.org/gcc-patches/20250922182808.2599390-2-corngood@gmail.com/raw";
hash = "sha256-+EYW9lG8CviVX7RyNHp+iX+8BRHUjt5b07k940khbbY=";
})
++ optionals targetPlatform.isCygwin [
(fetchpatch {
name = "cygwin-fix-compilation-with-inhibit_libc.patch";