summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-11-29 21:03:34 +0000
committerMike Frysinger <vapier@gentoo.org>2008-11-29 21:03:34 +0000
commite08b1ff624c690c4780ab645bff07be28e0482cd (patch)
tree6e6c86a79d88a28e42699f50bfc7c065a47df4cd /sys-libs/glibc
parentMake usb support optional #249211 by Scott. (diff)
downloadgentoo-2-e08b1ff624c690c4780ab645bff07be28e0482cd.tar.gz
gentoo-2-e08b1ff624c690c4780ab645bff07be28e0482cd.tar.bz2
gentoo-2-e08b1ff624c690c4780ab645bff07be28e0482cd.zip
disable nptl checks for headers-only builds
Diffstat (limited to 'sys-libs/glibc')
-rw-r--r--sys-libs/glibc/files/eblits/src_unpack.eblit7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys-libs/glibc/files/eblits/src_unpack.eblit b/sys-libs/glibc/files/eblits/src_unpack.eblit
index cd6bba3aebb8..d1de4822ecd2 100644
--- a/sys-libs/glibc/files/eblits/src_unpack.eblit
+++ b/sys-libs/glibc/files/eblits/src_unpack.eblit
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit,v 1.5 2008/06/08 00:49:09 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit,v 1.6 2008/11/29 21:03:34 vapier Exp $
check_kheader_version() {
local version=$(
@@ -12,6 +12,9 @@ check_kheader_version() {
}
check_nptl_support() {
+ # don't care about the compiler here as we arent using it
+ just_headers && return
+
local min_kernel_version=$(KV_to_int "${NPTL_KERN_VER}")
ebegin "Checking gcc for __thread support"
@@ -33,8 +36,6 @@ check_nptl_support() {
fi
fi
- # Building fails with too low linux-headers
- just_headers && return
ebegin "Checking linux-headers version (>=${NPTL_KERN_VER})"
if ! eend $(check_kheader_version "${min_kernel_version}" ; echo $?) ; then
echo