summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-01-16 11:10:03 +0000
committerMike Frysinger <vapier@gentoo.org>2006-01-16 11:10:03 +0000
commit1be2098e1f6131886dbfcc7345822052a3860c58 (patch)
tree3fed86d08c03298ed9854e0196b21fa4259e3135 /eclass
parentVersion bump to solve bug #118822 (diff)
downloadgentoo-2-1be2098e1f6131886dbfcc7345822052a3860c58.tar.gz
gentoo-2-1be2098e1f6131886dbfcc7345822052a3860c58.tar.bz2
gentoo-2-1be2098e1f6131886dbfcc7345822052a3860c58.zip
touchup elf2flt some more
Diffstat (limited to 'eclass')
-rw-r--r--eclass/toolchain-binutils.eclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/toolchain-binutils.eclass b/eclass/toolchain-binutils.eclass
index 262d58e6b1a8..e89e59d0bed3 100644
--- a/eclass/toolchain-binutils.eclass
+++ b/eclass/toolchain-binutils.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.53 2006/01/15 11:33:58 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.54 2006/01/16 11:10:03 vapier Exp $
# We install binutils into CTARGET-VERSION specific directories. This lets
# us easily merge multiple versions for multiple targets (if we wish) and
@@ -183,7 +183,7 @@ toolchain-binutils_src_compile() {
find . -name '*.1' -a -size 0 | xargs rm -f
# elf2flt only works on some arches / targets
- if [[ -n ${ELF2FLT_VER} ]] && [[ ${CTARGET} == *-linux* || ${CTARGET} == *-elf* ]] ; then
+ if [[ -n ${ELF2FLT_VER} ]] && [[ ${CTARGET} == *linux* || ${CTARGET} == *-elf* ]] ; then
cd "${WORKDIR}"/elf2flt-${ELF2FLT_VER}
local x supported_arches=$(sed -n '/defined(TARGET_/{s:^.*TARGET_::;s:)::;p}' elf2flt.c | sort -u)
@@ -194,7 +194,7 @@ toolchain-binutils_src_compile() {
if [[ ${x} != "UNSUPPORTED" ]] ; then
append-flags -I"${S}"/include
myconf="--with-bfd-include-dir=${MY_BUILDDIR}/bfd \
- --with-libbfd=${MY_BUILDDIR}/bfd/.libs/libbfd.so \
+ --with-libbfd=${MY_BUILDDIR}/bfd/libbfd.a \
--with-libiberty=${MY_BUILDDIR}/libiberty/libiberty.a \
--with-binutils-ldscript-dir=${LIBPATH}/ldscripts \
${myconf}"