diff options
author | Matthew Bauer <mjbauer95@gmail.com> | 2021-01-21 19:31:26 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-21 19:31:26 -0600 |
commit | afc2edc3ee4473b3857cc76e6eb4517086641326 (patch) | |
tree | ee6234adcd637bc29ad012bce388c1041a1071f5 /pkgs/development/compilers/gcc/7/default.nix | |
parent | e48c1f8e8c74f44c6f9fa4c33685ca879d2d261e (diff) | |
parent | 4bdcddf9aac73d1ca1ace4eb26c14af18c1b0a31 (diff) |
Merge pull request #108060 from matthewbauer/strip-musl-gcc
gcc: allow stripping gcc libraries
Diffstat (limited to 'pkgs/development/compilers/gcc/7/default.nix')
-rw-r--r-- | pkgs/development/compilers/gcc/7/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/compilers/gcc/7/default.nix b/pkgs/development/compilers/gcc/7/default.nix index d950d6ac35bb..4bd776e6f8b8 100644 --- a/pkgs/development/compilers/gcc/7/default.nix +++ b/pkgs/development/compilers/gcc/7/default.nix @@ -26,8 +26,8 @@ , threadsCross ? null # for MinGW , crossStageStatic ? false , # Strip kills static libs of other archs (hence no cross) - stripped ? stdenv.hostPlatform == stdenv.buildPlatform - && stdenv.targetPlatform == stdenv.hostPlatform + stripped ? stdenv.hostPlatform.system == stdenv.buildPlatform.system + && stdenv.targetPlatform.system == stdenv.hostPlatform.system , gnused ? null , cloog # unused; just for compat with gcc4, as we override the parameter on some places , buildPackages |