summaryrefslogtreecommitdiff
path: root/package/gdb
diff options
context:
space:
mode:
Diffstat (limited to 'package/gdb')
-rw-r--r--package/gdb/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/gdb/Makefile b/package/gdb/Makefile
index 97a4ffbc9..e15d7420d 100644
--- a/package/gdb/Makefile
+++ b/package/gdb/Makefile
@@ -24,6 +24,7 @@ XAKE_FLAGS+= MAKEINFO=true
WRKBUILD= $(WRKDIR)/$(PKG_NAME)-obj
+CONFIGURE_ENV+= host_configargs='--with-libgmp-prefix="${STAGING_TARGET_DIR}/usr"'
# --enable-static is required to build libbfd.a
CONFIGURE_ARGS+= --enable-static \
--without-uiout \
@@ -44,6 +45,7 @@ CONFIGURE_ARGS+= --enable-static \
--with-system-readline \
--with-curses \
--with-libexpat-prefix="${STAGING_TARGET_DIR}/usr" \
+ --with-gmp="${STAGING_TARGET_DIR}/usr" \
--enable-gdbmi
gdb-install: