summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-05-07 05:32:17 +0000
committerMike Frysinger <vapier@gentoo.org>2007-05-07 05:32:17 +0000
commitff23b2a1da3a90b8beaa66dbb603acfefee39dd8 (patch)
tree221eb91af28054de6f2bca6cd5bd737b5afda672 /sys-apps
parentgst-plugins-sidplay version bump (diff)
downloadgentoo-2-ff23b2a1da3a90b8beaa66dbb603acfefee39dd8.tar.gz
gentoo-2-ff23b2a1da3a90b8beaa66dbb603acfefee39dd8.tar.bz2
gentoo-2-ff23b2a1da3a90b8beaa66dbb603acfefee39dd8.zip
add cross-compile workaround for linux targets #177061
(Portage version: 2.1.2.6)
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/coreutils/coreutils-6.9-r1.ebuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys-apps/coreutils/coreutils-6.9-r1.ebuild b/sys-apps/coreutils/coreutils-6.9-r1.ebuild
index 172475110888..ed2cd314a17b 100644
--- a/sys-apps/coreutils/coreutils-6.9-r1.ebuild
+++ b/sys-apps/coreutils/coreutils-6.9-r1.ebuild
@@ -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-apps/coreutils/coreutils-6.9-r1.ebuild,v 1.1 2007/04/30 18:55:59 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/coreutils/coreutils-6.9-r1.ebuild,v 1.2 2007/05/07 05:32:17 vapier Exp $
inherit eutils flag-o-matic toolchain-funcs autotools
@@ -87,6 +87,9 @@ src_compile() {
myconf="${myconf} --without-included-regex"
fi
+ # cross-compile workaround #177061
+ [[ ${CHOST} == *-linux* ]] && export fu_cv_sys_stat_statvfs=yes
+
use static && append-ldflags -static
econf \
--enable-largefile \