mirror of https://git.wownero.com/dsc/mxe.git
gdb: Use "system" readline, enable shared.
This commit is contained in:
parent
83c5ba324b
commit
3c2562b8d2
|
@ -8,7 +8,7 @@ $(PKG)_SUBDIR := gdb-$($(PKG)_VERSION)
|
|||
$(PKG)_FILE := gdb-$($(PKG)_VERSION).tar.xz
|
||||
$(PKG)_URL := http://ftp.gnu.org/pub/gnu/$(PKG)/$($(PKG)_FILE)
|
||||
$(PKG)_URL_2 := ftp://ftp.cs.tu-berlin.de/pub/gnu/$(PKG)/$($(PKG)_FILE)
|
||||
$(PKG)_DEPS := gcc expat libiconv pdcurses zlib
|
||||
$(PKG)_DEPS := gcc expat libiconv readline zlib
|
||||
|
||||
define $(PKG)_UPDATE
|
||||
$(WGET) -q -O- 'http://ftp.gnu.org/gnu/gdb/?C=M;O=D' | \
|
||||
|
@ -19,13 +19,10 @@ endef
|
|||
|
||||
define $(PKG)_BUILD
|
||||
cd '$(1)' && ./configure \
|
||||
--host='$(TARGET)' \
|
||||
--build="`config.guess`" \
|
||||
--disable-shared \
|
||||
--prefix='$(PREFIX)/$(TARGET)' \
|
||||
$(MXE_CONFIGURE_OPTS) \
|
||||
--with-system-readline \
|
||||
CONFIG_SHELL=$(SHELL)
|
||||
$(MAKE) -C '$(1)' -j '$(JOBS)'
|
||||
$(MAKE) -C '$(1)' -j 1 install
|
||||
endef
|
||||
|
||||
$(PKG)_BUILD_SHARED =
|
||||
|
|
Loading…
Reference in New Issue