Unverified Commit beb0e1ee authored by John Ericson's avatar John Ericson Committed by GitHub
Browse files

gcc: fix cygwin build (#476299)

parents d87fdb68 cde2dbab
Loading
Loading
Loading
Loading
+3 −4
Original line number Diff line number Diff line
@@ -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