summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2013-07-08 02:08:44 +0000
committerAlexis Ballier <aballier@gentoo.org>2013-07-08 02:08:44 +0000
commit1797130235f5e94dac83582206766177f0f4fba8 (patch)
treea2b87df7fa64bb2ec8fb5cdbaff45bcbefaae44a /eclass/freebsd.eclass
parentAdd CFLAGS and LDFLAGS so that gcc finds the needed files and libraries when ... (diff)
downloadgentoo-2-1797130235f5e94dac83582206766177f0f4fba8.tar.gz
gentoo-2-1797130235f5e94dac83582206766177f0f4fba8.tar.bz2
gentoo-2-1797130235f5e94dac83582206766177f0f4fba8.zip
stop adding cflags for multilib, it is now done in the profiles
Diffstat (limited to 'eclass/freebsd.eclass')
-rw-r--r--eclass/freebsd.eclass4
1 files changed, 1 insertions, 3 deletions
diff --git a/eclass/freebsd.eclass b/eclass/freebsd.eclass
index cb1e92b20f1b..63a614c00069 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.28 2013/06/18 17:30:56 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/freebsd.eclass,v 1.29 2013/07/08 02:08:44 aballier Exp $
#
# Diego Pettenò <flameeyes@gentoo.org>
@@ -144,8 +144,6 @@ 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}"