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 | 92c2972e7502af71c6acf7bdbd93e15d5d4f1f2d (patch) | |
tree | ba0223407e48d7e6e8a09a78f9fbb2f285ff32c7 /eclass | |
parent | Add arm love. (diff) | |
download | historical-92c2972e7502af71c6acf7bdbd93e15d5d4f1f2d.tar.gz historical-92c2972e7502af71c6acf7bdbd93e15d5d4f1f2d.tar.bz2 historical-92c2972e7502af71c6acf7bdbd93e15d5d4f1f2d.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}" |