about summary refs log tree commit diff
path: root/pkgs/development/compilers
diff options
context:
space:
mode:
authorLluís Batlle i Rossell <viric@viric.name>2012-12-31 09:38:32 +0000
committerLluís Batlle i Rossell <viric@viric.name>2012-12-31 09:38:32 +0000
commit2402bb2613b80427feaeea1290c9f95702170584 (patch)
tree4467b465b9bf059b3724282af43d49328687a8c2 /pkgs/development/compilers
parentba7cde015699c037aea4a47c0e7d2787f4d740bc (diff)
downloadnixlib-2402bb2613b80427feaeea1290c9f95702170584.tar
nixlib-2402bb2613b80427feaeea1290c9f95702170584.tar.gz
nixlib-2402bb2613b80427feaeea1290c9f95702170584.tar.bz2
nixlib-2402bb2613b80427feaeea1290c9f95702170584.tar.lz
nixlib-2402bb2613b80427feaeea1290c9f95702170584.tar.xz
nixlib-2402bb2613b80427feaeea1290c9f95702170584.tar.zst
nixlib-2402bb2613b80427feaeea1290c9f95702170584.zip
gcc: Moving the arch=loongson2f to the current platform approach
Diffstat (limited to 'pkgs/development/compilers')
-rw-r--r--pkgs/development/compilers/gcc/4.6/default.nix2
-rw-r--r--pkgs/development/compilers/gcc/4.7/default.nix2
2 files changed, 0 insertions, 4 deletions
diff --git a/pkgs/development/compilers/gcc/4.6/default.nix b/pkgs/development/compilers/gcc/4.6/default.nix
index 74edfe80c1d8..b2456eb33c28 100644
--- a/pkgs/development/compilers/gcc/4.6/default.nix
+++ b/pkgs/development/compilers/gcc/4.6/default.nix
@@ -313,8 +313,6 @@ stdenv.mkDerivation ({
         )
       )
     }
-    ${ # Trick that should be taken out once we have a mips64el-linux not loongson2f
-      if cross == null && stdenv.system == "mips64el-linux" then "--with-arch=loongson2f" else ""}
     ${if langAda then " --enable-libada" else ""}
     ${if cross == null && stdenv.isi686 then "--with-arch=i686" else ""}
     ${if cross != null then crossConfigureFlags else ""}
diff --git a/pkgs/development/compilers/gcc/4.7/default.nix b/pkgs/development/compilers/gcc/4.7/default.nix
index 3978dbaac112..62a86751a712 100644
--- a/pkgs/development/compilers/gcc/4.7/default.nix
+++ b/pkgs/development/compilers/gcc/4.7/default.nix
@@ -324,8 +324,6 @@ stdenv.mkDerivation ({
     ${if (stdenv ? glibc && cross == null)
       then " --with-native-system-header-dir=${stdenv.glibc}/include"
       else ""}
-    ${ # Trick that should be taken out once we have a mips64el-linux not loongson2f
-      if cross == null && stdenv.system == "mips64el-linux" then "--with-arch=loongson2f" else ""}
     ${if langAda then " --enable-libada" else ""}
     ${if cross == null && stdenv.isi686 then "--with-arch=i686" else ""}
     ${if cross != null then crossConfigureFlags else ""}