summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2012-05-12 15:59:59 +0000
committerAlexis Ballier <aballier@gentoo.org>2012-05-12 15:59:59 +0000
commit3c0ac4dc187fbad3a3d509f7a994e40529469a3b (patch)
tree05c1ea015a3697a52dc082e6faa815851cd67011 /media-libs/libvpx/libvpx-1.1.0.ebuild
parentalpha/ia64/m68k/s390/sh/sparc stable wrt #404179 (diff)
downloadgentoo-2-3c0ac4dc187fbad3a3d509f7a994e40529469a3b.tar.gz
gentoo-2-3c0ac4dc187fbad3a3d509f7a994e40529469a3b.tar.bz2
gentoo-2-3c0ac4dc187fbad3a3d509f7a994e40529469a3b.zip
respect chost-prefixed toolchain, not only CC
(Portage version: 2.2.0_alpha104/cvs/Linux x86_64)
Diffstat (limited to 'media-libs/libvpx/libvpx-1.1.0.ebuild')
-rw-r--r--media-libs/libvpx/libvpx-1.1.0.ebuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/media-libs/libvpx/libvpx-1.1.0.ebuild b/media-libs/libvpx/libvpx-1.1.0.ebuild
index 45c7c2bbfcef..fe589fde596d 100644
--- a/media-libs/libvpx/libvpx-1.1.0.ebuild
+++ b/media-libs/libvpx/libvpx-1.1.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libvpx/libvpx-1.1.0.ebuild,v 1.4 2012/05/12 15:51:24 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libvpx/libvpx-1.1.0.ebuild,v 1.5 2012/05/12 15:59:59 aballier Exp $
EAPI=4
inherit multilib
@@ -53,7 +53,10 @@ src_configure() {
# http://bugs.gentoo.org/379659 http://gerrit.chromium.org/gerrit/#change,18142
export LC_ALL=C
- tc-export CC
+ tc-export CC AR NM
+ # it links with CC and calls it LD...
+ export LD="${CC}"
+
./configure \
--prefix="${EPREFIX}"/usr \
--libdir="${EPREFIX}"/usr/$(get_libdir) \