mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 03:56:17 +03:00
Merge #176010: binutils: Reduce closure size when building for cross platform
This commit is contained in:
commit
a824e734ea
@ -194,6 +194,9 @@ stdenv.mkDerivation {
|
||||
# mass rebuild.
|
||||
postFixup = "";
|
||||
|
||||
# Break dependency on pkgsBuildBuild.gcc when building a cross-binutils
|
||||
stripDebugList = if stdenv.hostPlatform != stdenv.targetPlatform then "bin lib ${stdenv.hostPlatform.config}" else null;
|
||||
|
||||
# INFO: Otherwise it fails with:
|
||||
# `./sanity.sh: line 36: $out/bin/size: not found`
|
||||
doInstallCheck = (buildPlatform == hostPlatform) && (hostPlatform == targetPlatform);
|
||||
|
Loading…
Reference in New Issue
Block a user