summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <eradicator@gentoo.org>2005-02-14 03:38:06 +0000
committerJeremy Huddleston <eradicator@gentoo.org>2005-02-14 03:38:06 +0000
commitcfe3378e3b095b4fe07117d185f14682ff087dba (patch)
tree28319b6cf88ff4234b0a83a09a2e4201c8dd55b3 /sys-libs/glibc/glibc-2.3.4.20050125.ebuild
parentsparc crosscompile cleanups before removing from package.mask. (diff)
downloadhistorical-cfe3378e3b095b4fe07117d185f14682ff087dba.tar.gz
historical-cfe3378e3b095b4fe07117d185f14682ff087dba.tar.bz2
historical-cfe3378e3b095b4fe07117d185f14682ff087dba.zip
One more sparc fix. Set CC so when crosscompiling, we don't try using sparcv9-blah-gcc.
Package-Manager: portage-2.0.51-r15
Diffstat (limited to 'sys-libs/glibc/glibc-2.3.4.20050125.ebuild')
-rw-r--r--sys-libs/glibc/glibc-2.3.4.20050125.ebuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys-libs/glibc/glibc-2.3.4.20050125.ebuild b/sys-libs/glibc/glibc-2.3.4.20050125.ebuild
index 6af7a487b0d8..636e7818aa4b 100644
--- a/sys-libs/glibc/glibc-2.3.4.20050125.ebuild
+++ b/sys-libs/glibc/glibc-2.3.4.20050125.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/glibc-2.3.4.20050125.ebuild,v 1.22 2005/02/14 03:28:31 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/glibc-2.3.4.20050125.ebuild,v 1.23 2005/02/14 03:38:06 eradicator Exp $
KEYWORDS="~amd64 ~mips ~sparc ~x86"
@@ -539,6 +539,9 @@ alt_usrlibdir() {
}
setup_flags() {
+ # We need to do this or the build system will want to use ${CHOST_OPT}-gcc
+ export CC=$(tc-getCC)
+
# Over-zealous CFLAGS can often cause problems. What may work for one
# person may not work for another. To avoid a large influx of bugs
# relating to failed builds, we strip most CFLAGS out to ensure as few
@@ -773,7 +776,6 @@ glibc_do_configure() {
die "invalid pthread option"
fi
- # Who knows if this works :)
myconf="${myconf} --without-cvs
--enable-bind-now
--build=${CBUILD_OPT:-${CBUILD}}