about summary refs log tree commit diff
path: root/pkgs/development/compilers
diff options
context:
space:
mode:
authorDaniel Barlow <dan@telent.net>2017-12-05 10:27:45 +0000
committerJohn Ericson <John.Ericson@Obsidian.Systems>2018-02-23 20:43:42 -0500
commit9c50ae6898b2d5dccd6e030c80535fb1a32f703d (patch)
treef957c334d3b0885adcca2cefa6f90ab805443e30 /pkgs/development/compilers
parent2682ba63bc0c4dea159ec664d63d375a8d75b12a (diff)
downloadnixlib-9c50ae6898b2d5dccd6e030c80535fb1a32f703d.tar
nixlib-9c50ae6898b2d5dccd6e030c80535fb1a32f703d.tar.gz
nixlib-9c50ae6898b2d5dccd6e030c80535fb1a32f703d.tar.bz2
nixlib-9c50ae6898b2d5dccd6e030c80535fb1a32f703d.tar.lz
nixlib-9c50ae6898b2d5dccd6e030c80535fb1a32f703d.tar.xz
nixlib-9c50ae6898b2d5dccd6e030c80535fb1a32f703d.tar.zst
nixlib-9c50ae6898b2d5dccd6e030c80535fb1a32f703d.zip
lib, treewide: Add missing MIPS arches, and fix existing usage
Existing "mips64el" should be "mipsel".

This is just the barest minimum so that nixpkgs can recognize them as
systems - although required for building individual derivations onto
MIPS boards, it is not sufficient if you want to actually build nixos on
those targets
Diffstat (limited to 'pkgs/development/compilers')
-rw-r--r--pkgs/development/compilers/gcc/4.5/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/compilers/gcc/4.5/default.nix b/pkgs/development/compilers/gcc/4.5/default.nix
index 6b2718f5e692..c63867a1d2db 100644
--- a/pkgs/development/compilers/gcc/4.5/default.nix
+++ b/pkgs/development/compilers/gcc/4.5/default.nix
@@ -317,8 +317,8 @@ stdenv.mkDerivation ({
 
     # Platform-specific flags
     optional (targetPlatform == hostPlatform && targetPlatform.isi686) "--with-arch=i686" ++
-    # Trick that should be taken out once we have a mips64el-linux not loongson2f
-    optional (targetPlatform == hostPlatform && stdenv.system == "mips64el-linux") "--with-arch=loongson2f"
+    # Trick that should be taken out once we have a mipsel-linux not loongson2f
+    optional (targetPlatform == hostPlatform && stdenv.system == "mipsel-linux") "--with-arch=loongson2f"
   ;
 
   targetConfig = if targetPlatform != hostPlatform then targetPlatform.config else null;