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

pkgsStatic: Pass hostPlatform.gcc attribute

authored by Aleksana and committed by GitHub cab94ab4 b6f40375

+2 -2
+2 -2
pkgs/top-level/stage.nix
··· 281 281 if stdenv.isLinux 282 282 then makeMuslParsedPlatform stdenv.hostPlatform.parsed 283 283 else stdenv.hostPlatform.parsed; 284 - } // lib.optionalAttrs (stdenv.hostPlatform.system == "powerpc64-linux") { 285 - gcc.abi = "elfv2"; 284 + gcc = lib.optionalAttrs (stdenv.hostPlatform.system == "powerpc64-linux") { abi = "elfv2"; } // 285 + stdenv.hostPlatform.gcc or {}; 286 286 }; 287 287 }); 288 288