summaryrefslogtreecommitdiff
path: root/x11-drivers/nvidia-drivers/files/eblits/want_tls.eblit
diff options
context:
space:
mode:
Diffstat (limited to 'x11-drivers/nvidia-drivers/files/eblits/want_tls.eblit')
-rw-r--r--x11-drivers/nvidia-drivers/files/eblits/want_tls.eblit33
1 files changed, 0 insertions, 33 deletions
diff --git a/x11-drivers/nvidia-drivers/files/eblits/want_tls.eblit b/x11-drivers/nvidia-drivers/files/eblits/want_tls.eblit
deleted file mode 100644
index 3847bc2..0000000
--- a/x11-drivers/nvidia-drivers/files/eblits/want_tls.eblit
+++ /dev/null
@@ -1,33 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-want_tls() {
- # For uclibc or anything non glibc, return false
- has_version sys-libs/glibc || return 1
-
- # Old versions of glibc were lt/no-tls only
- has_version '<sys-libs/glibc-2.3.2' && return 1
-
- if use x86 ; then
- case ${CHOST/-*} in
- i486|i586|i686) ;;
- *) return 1 ;;
- esac
- fi
-
- # If we've got nptl, we've got tls
- built_with_use --missing true sys-libs/glibc nptl && return 0
-
- # 2.3.5 turned off tls for linuxthreads glibc on i486 and i586
- if use x86 && has_version '>=sys-libs/glibc-2.3.5' ; then
- case ${CHOST/-*} in
- i486|i586) return 1 ;;
- esac
- fi
-
- # These versions built linuxthreads version to support tls, too
- has_version '>=sys-libs/glibc-2.3.4.20040619-r2' && return 0
-
- return 1
-}