[openwrt/openwrt] gdb: Always use system zlib

LEDE Commits lede-commits at lists.infradead.org
Sun Nov 1 14:54:47 EST 2020


hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/8698a727ddf2f7bdfc0d1d084688be85ee42eb9f

commit 8698a727ddf2f7bdfc0d1d084688be85ee42eb9f
Author: Hauke Mehrtens <hauke at hauke-m.de>
AuthorDate: Sat Oct 24 23:34:18 2020 +0200

    gdb: Always use system zlib
    
    Instead of using the system zlib when the package is selected and using
    the internal zlib if it is not selected in OpenWrt, just activate it
    always. This should make the package more deterministic.
    
    Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
 package/devel/gdb/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/package/devel/gdb/Makefile b/package/devel/gdb/Makefile
index 9817599558..50d43e9fc1 100644
--- a/package/devel/gdb/Makefile
+++ b/package/devel/gdb/Makefile
@@ -25,7 +25,7 @@ include $(INCLUDE_DIR)/package.mk
 define Package/gdb/Default
   SECTION:=devel
   CATEGORY:=Development
-  DEPENDS:=+!USE_MUSL:libthread-db +PACKAGE_zlib:zlib
+  DEPENDS:=+!USE_MUSL:libthread-db +zlib
   URL:=https://www.gnu.org/software/gdb/
 endef
 
@@ -55,6 +55,7 @@ endef
 # XXX: add --disable-werror to prevent build failure with arm
 CONFIGURE_ARGS+= \
 	--with-system-readline \
+	--with-system-zlib \
 	--without-expat \
 	--without-lzma \
 	--disable-sim \



More information about the lede-commits mailing list