[openwrt/openwrt] gdb: Add explicit patch to libgmp

LEDE Commits lede-commits at lists.infradead.org
Sun Nov 7 09:35:23 PST 2021


hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/84616a1725ad274852a7bb016c25653627505714

commit 84616a1725ad274852a7bb016c25653627505714
Author: Hauke Mehrtens <hauke at hauke-m.de>
AuthorDate: Sun Nov 7 17:14:16 2021 +0100

    gdb: Add explicit patch to libgmp
    
    Without giving the patch gdb does not compile on Arch Linux.
    
    Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
 package/devel/gdb/Makefile | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/package/devel/gdb/Makefile b/package/devel/gdb/Makefile
index 9e20644b04..f474502869 100644
--- a/package/devel/gdb/Makefile
+++ b/package/devel/gdb/Makefile
@@ -62,7 +62,11 @@ CONFIGURE_ARGS+= \
 	--disable-ubsan \
 	--disable-sim \
 	--disable-werror \
-	--disable-source-highlight
+	--disable-source-highlight \
+	--without-mpc \
+	--without-mpfr \
+	--without-isl \
+	--with-libgmp-prefix=$(STAGING_DIR)/usr
 
 CONFIGURE_VARS+= \
 	ac_cv_search_tgetent="$(TARGET_LDFLAGS) -lncurses -lreadline"



More information about the lede-commits mailing list