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@hauke-m.de>
This commit is contained in:
Hauke Mehrtens 2020-10-24 23:34:18 +02:00
parent f1f0ed869a
commit 8698a727dd

View File

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