summary refs log tree commit diff
path: root/pkgs/development/compilers/gcc/9/default.nix
diff options
context:
space:
mode:
authorAdam Joseph <adam@westernsemico.com>2022-08-05 11:05:07 -0700
committerAdam Joseph <adam@westernsemico.com>2022-08-05 11:07:16 -0700
commitdfba0bf93b716a72b107fd182e01e5ba859dc013 (patch)
tree624712e43e111b25e03b187be63880d25394dd68 /pkgs/development/compilers/gcc/9/default.nix
parentcbc80ff32b7c827f6a780688f251a6d592a873d5 (diff)
downloadnixpkgs-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.nix2
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/";