gcc: fix cross-cygwin build

This commit is contained in:
David McFarland
2025-09-27 13:33:44 -03:00
parent cba263139f
commit d4217f410f
@@ -223,3 +223,11 @@ in
}
.${majorVersion} or [ ]
)
++ optionals targetPlatform.isCygwin [
(fetchpatch {
name = "cygwin-fix-compilation-with-inhibit_libc.patch";
url = "https://inbox.sourceware.org/gcc-patches/20250926170154.2222977-1-corngood@gmail.com/raw";
hash = "sha256-mgzMRvgPdhj+Q2VRsFhpE2WQzg0CvWsc5/FRAsSU1Es=";
})
]