diff options
author | Alexis Ballier <aballier@gentoo.org> | 2013-06-18 16:57:41 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2013-06-18 16:57:41 +0000 |
commit | 8807da17ff78c242c1569c35c012a2d0505a3482 (patch) | |
tree | f2999938b229fd4f8dbcd355d3c1edb88dd9209f /eclass | |
parent | Add arm love. (diff) | |
download | gentoo-2-8807da17ff78c242c1569c35c012a2d0505a3482.tar.gz gentoo-2-8807da17ff78c242c1569c35c012a2d0505a3482.tar.bz2 gentoo-2-8807da17ff78c242c1569c35c012a2d0505a3482.zip |
Teach gcc where to find crt* files when doing a multilib build.
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/freebsd.eclass | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/eclass/freebsd.eclass b/eclass/freebsd.eclass index f3b6bc3b6b64..339900a7c7b2 100644 --- a/eclass/freebsd.eclass +++ b/eclass/freebsd.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/freebsd.eclass,v 1.26 2013/06/17 20:00:37 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/freebsd.eclass,v 1.27 2013/06/18 16:57:41 aballier Exp $ # # Diego Pettenò <flameeyes@gentoo.org> @@ -147,6 +147,8 @@ freebsd_multilib_multibuild_wrapper() { mymakeopts="${mymakeopts} TARGET=${target} MACHINE=${target} MACHINE_ARCH=${target} SHLIBDIR=/usr/$(get_libdir) LIBDIR=/usr/$(get_libdir)" if use multilib && [ "${ABI}" != "${DEFAULT_ABI}" ] ; then mymakeopts="${mymakeopts} COMPAT_32BIT=" + # Teach gcc where to find crt* files. + export LDFLAGS="${LDFLAGS} -L/usr/$(get_libdir) -B/usr/$(get_libdir)" fi einfo "Building for ABI=${ABI} and TARGET=${target}" |