summaryrefslogtreecommitdiff
path: root/meta/packages/gdb/gdb-common.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/gdb/gdb-common.inc')
-rw-r--r--meta/packages/gdb/gdb-common.inc8
1 files changed, 4 insertions, 4 deletions
diff --git a/meta/packages/gdb/gdb-common.inc b/meta/packages/gdb/gdb-common.inc
index ef7d43b153..fcd911ab0a 100644
--- a/meta/packages/gdb/gdb-common.inc
+++ b/meta/packages/gdb/gdb-common.inc
@@ -3,12 +3,12 @@ HOMEPAGE = "http://www.gnu.org/software/gdb/"
LICENSE="GPLv3+"
SECTION = "devel"
PRIORITY = "optional"
-DEPENDS = "ncurses readline"
+DEPENDS = "ncurses readline elfutils"
inherit autotools
SRC_URI = "${GNU_MIRROR}/gdb/gdb-${PV}.tar.gz \
- file://no-werror.patch;patch=1"
+ file://no-werror.patch"
export CC_FOR_BUILD = "${BUILD_CC}"
export CXX_FOR_BUILD = "${BUILD_CXX}"
@@ -23,14 +23,14 @@ EXTRA_OEMAKE = "'SUBDIRS=intl mmalloc libiberty opcodes bfd sim gdb etc utils'"
EXTRA_OECONF = "--disable-gdbtk --disable-tui --disable-x \
--with-curses --disable-multilib --with-readline --disable-sim \
- ${GDBPROPREFIX}"
+ ${GDBPROPREFIX} --with-libelf=${STAGING_DIR_TARGET}"
GDBPROPREFIX = "--program-prefix=''"
do_configure () {
# override this function to avoid the autoconf/automake/aclocal/autoheader
# calls for now
(cd ${S} && gnu-configize) || die "failure in running gnu-configize"
- oe_runconf
+ oe_runconf
}
RRECOMMENDS_gdb_append_linux = " glibc-thread-db "