diff options
author | Adam Joseph <adam@westernsemico.com> | 2022-08-05 11:05:07 -0700 |
---|---|---|
committer | Adam Joseph <adam@westernsemico.com> | 2022-08-05 11:07:16 -0700 |
commit | dfba0bf93b716a72b107fd182e01e5ba859dc013 (patch) | |
tree | 624712e43e111b25e03b187be63880d25394dd68 /pkgs/development/compilers/gcc/9/default.nix | |
parent | cbc80ff32b7c827f6a780688f251a6d592a873d5 (diff) | |
download | nixpkgs-dfba0bf93b716a72b107fd182e01e5ba859dc013.tar nixpkgs-dfba0bf93b716a72b107fd182e01e5ba859dc013.tar.gz nixpkgs-dfba0bf93b716a72b107fd182e01e5ba859dc013.tar.bz2 nixpkgs-dfba0bf93b716a72b107fd182e01e5ba859dc013.tar.lz nixpkgs-dfba0bf93b716a72b107fd182e01e5ba859dc013.tar.xz nixpkgs-dfba0bf93b716a72b107fd182e01e5ba859dc013.tar.zst nixpkgs-dfba0bf93b716a72b107fd182e01e5ba859dc013.zip |
gcc: do not create lib64->lib links on mips64n32
On mips, gcc follows the somewhat awkward IRIX convention of putting mips64 binaries in `lib64` and mips64n32 binaries in `lib32`. So on mips64n32 we do not want the `lib64` symlinks.
Diffstat (limited to 'pkgs/development/compilers/gcc/9/default.nix')
-rw-r--r-- | pkgs/development/compilers/gcc/9/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/compilers/gcc/9/default.nix b/pkgs/development/compilers/gcc/9/default.nix index 707ead542f0..2cac0be1aef 100644 --- a/pkgs/development/compilers/gcc/9/default.nix +++ b/pkgs/development/compilers/gcc/9/default.nix @@ -270,7 +270,7 @@ stdenv.mkDerivation ({ enableParallelBuilding = true; inherit enableShared enableMultilib; - inherit (stdenv) is64bit; + is64bit = stdenv.is64bit && !stdenv.hostPlatform.isMips64n32; meta = { homepage = "https://gcc.gnu.org/"; |