summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-11-06 00:33:03 +0000
committerMike Frysinger <vapier@gentoo.org>2009-11-06 00:33:03 +0000
commit8cec529622feda3a14797abc21608d0248e3fa3c (patch)
treea33e556e0cc7d394d19d3462af0986a11c1253ba /sys-libs
parentUpdate HOMEPAGE. (diff)
downloadgentoo-2-8cec529622feda3a14797abc21608d0248e3fa3c.tar.gz
gentoo-2-8cec529622feda3a14797abc21608d0248e3fa3c.tar.bz2
gentoo-2-8cec529622feda3a14797abc21608d0248e3fa3c.zip
move some cross libc cv settings for all builds rather than doing it in the source via patches
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/glibc/files/eblits/src_compile.eblit10
1 files changed, 7 insertions, 3 deletions
diff --git a/sys-libs/glibc/files/eblits/src_compile.eblit b/sys-libs/glibc/files/eblits/src_compile.eblit
index 05a9170d5fb4..2dbc3fa0005d 100644
--- a/sys-libs/glibc/files/eblits/src_compile.eblit
+++ b/sys-libs/glibc/files/eblits/src_compile.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_compile.eblit,v 1.9 2009/09/04 07:20:17 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit,v 1.10 2009/11/06 00:33:03 vapier Exp $
glibc_do_configure() {
local myconf
@@ -136,8 +136,6 @@ toolchain-glibc_headers_compile() {
libc_cv_386_tls=yes \
libc_cv_asm_cfi_directives=yes \
libc_cv_broken_visibility_attribute=no \
- libc_cv_c_cleanup=yes \
- libc_cv_forced_unwind=yes \
libc_cv_gcc___thread=yes \
libc_cv_mlong_double_128=yes \
libc_cv_mlong_double_128ibm=yes \
@@ -173,6 +171,12 @@ toolchain-glibc_headers_compile() {
}
eblit-glibc-src_compile() {
+ if is_crosscompile ; then
+ export \
+ libc_cv_c_cleanup=yes \
+ libc_cv_forced_unwind=yes
+ fi
+
if just_headers ; then
toolchain-glibc_headers_compile
return