summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--lib/systems/examples.nix6
-rw-r--r--pkgs/development/libraries/glibc/common.nix3
-rw-r--r--pkgs/top-level/all-packages.nix1
3 files changed, 0 insertions, 10 deletions
diff --git a/lib/systems/examples.nix b/lib/systems/examples.nix
index 90d7e956d2ba..8d7d2440e889 100644
--- a/lib/systems/examples.nix
+++ b/lib/systems/examples.nix
@@ -14,7 +14,6 @@ rec {
     bigEndian = false;
     arch = "armv5tel";
     float = "soft";
-    withTLS = true;
     libc = "glibc";
     platform = platforms.sheevaplug;
     openssl.system = "linux-generic32";
@@ -26,7 +25,6 @@ rec {
     arch = "armv6l";
     float = "hard";
     fpu = "vfp";
-    withTLS = true;
     libc = "glibc";
     platform = platforms.raspberrypi;
     openssl.system = "linux-generic32";
@@ -38,7 +36,6 @@ rec {
     arch = "armv7-a";
     float = "hard";
     fpu = "vfpv3-d16";
-    withTLS = true;
     libc = "glibc";
     platform = platforms.armv7l-hf-multiplatform;
     openssl.system = "linux-generic32";
@@ -48,7 +45,6 @@ rec {
     config = "aarch64-unknown-linux-gnu";
     bigEndian = false;
     arch = "aarch64";
-    withTLS = true;
     libc = "glibc";
     platform = platforms.aarch64-multiplatform;
   };
@@ -67,7 +63,6 @@ rec {
 
     libc = "glibc";
 
-    withTLS = true;
     openssl.system = "linux-generic32";
   };
 
@@ -76,7 +71,6 @@ rec {
     bigEndian = false;
     arch = "mips";
     float = "hard";
-    withTLS = true;
     libc = "glibc";
     platform = platforms.fuloong2f_n32;
     openssl.system = "linux-generic32";
diff --git a/pkgs/development/libraries/glibc/common.nix b/pkgs/development/libraries/glibc/common.nix
index f68970ae13e2..bd116ff6f306 100644
--- a/pkgs/development/libraries/glibc/common.nix
+++ b/pkgs/development/libraries/glibc/common.nix
@@ -127,7 +127,6 @@ stdenv.mkDerivation ({
     ] ++ lib.optionals withLinuxHeaders [
       "--enable-kernel=3.2.0" # can't get below with glibc >= 2.26
     ] ++ lib.optionals (cross != null) [
-      (if cross.withTLS then "--with-tls" else "--without-tls")
       (if cross ? float && cross.float == "soft" then "--without-fp" else "--with-fp")
     ] ++ lib.optionals (cross != null) [
       "--with-__thread"
@@ -190,8 +189,6 @@ stdenv.mkDerivation ({
     libc_cv_forced_unwind=yes
     libc_cv_c_cleanup=yes
     libc_cv_gnu89_inline=yes
-    # Only due to a problem in gcc configure scripts:
-    libc_cv_sparc64_tls=${if cross.withTLS then "yes" else "no"}
     EOF
 
     export BUILD_CC=gcc
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index e362c743b1a3..dddadcf2b7eb 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -5366,7 +5366,6 @@ with pkgs;
             bigEndian = true;
             arch = "mips";
             float = "soft";
-            withTLS = true;
             libc = "uclibc";
             platform = {
               name = "ben_nanonote";