gcc: fix cygwin build

This commit is contained in:
David McFarland
2025-09-29 20:42:13 -03:00
parent be8c8ea769
commit cde2dbab81
@@ -53,10 +53,9 @@ lib.pipe drv
useLibgccFromTargetLibc = libcCross != null && libcCross ? passthru.libgcc;
enableLibGccOutput =
(
!(stdenv.targetPlatform.isWindows || stdenv.targetPlatform.isCygwin)
|| (lib.systems.equals stdenv.targetPlatform stdenv.hostPlatform)
)
# $libgcc logic is currently hardcoded for .so
!stdenv.hostPlatform.isPE
&& !stdenv.targetPlatform.isPE
&& !langJit
&& !stdenv.hostPlatform.isDarwin
&& enableShared