Unverified Commit cab94ab4 authored by Aleksana's avatar Aleksana Committed by GitHub
Browse files

Merge pull request #283460 from rodarima/fix-pkgs-static-gcc-march

pkgsStatic: Pass hostPlatform.gcc attribute
parents b6f40375 e4ee77fe
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -281,8 +281,8 @@ let
          if stdenv.isLinux
          then makeMuslParsedPlatform stdenv.hostPlatform.parsed
          else stdenv.hostPlatform.parsed;
      } // lib.optionalAttrs (stdenv.hostPlatform.system == "powerpc64-linux") {
        gcc.abi = "elfv2";
        gcc = lib.optionalAttrs (stdenv.hostPlatform.system == "powerpc64-linux") { abi = "elfv2"; } //
          stdenv.hostPlatform.gcc or {};
      };
    });