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/10/default.nix | |
parent | cbc80ff32b7c827f6a780688f251a6d592a873d5 (diff) |
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/10/default.nix')
-rw-r--r-- | pkgs/development/compilers/gcc/10/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/compilers/gcc/10/default.nix b/pkgs/development/compilers/gcc/10/default.nix index 1c223fa82f4a8..d4230055313a9 100644 --- a/pkgs/development/compilers/gcc/10/default.nix +++ b/pkgs/development/compilers/gcc/10/default.nix @@ -268,7 +268,7 @@ stdenv.mkDerivation ({ enableParallelBuilding = true; inherit enableMultilib enableShared; - inherit (stdenv) is64bit; + is64bit = stdenv.is64bit && !stdenv.hostPlatform.isMips64n32; meta = { homepage = "https://gcc.gnu.org/"; |