diff options
author | Tobias Gruetzmacher <tobias-git@23.gs> | 2014-10-12 17:00:22 (GMT) |
---|---|---|
committer | Tobias Gruetzmacher <tobias-git@23.gs> | 2014-10-12 17:00:22 (GMT) |
commit | 3c2562b8d294c549ae5110b00de463a9898e5be1 (patch) | |
tree | 382a34040ee345188b07d12e18017e0fdab24157 /src/gdb.mk | |
parent | 83c5ba324bdd1aebcb918bb246c4db94f11c5528 (diff) | |
download | mxe-3c2562b8d294c549ae5110b00de463a9898e5be1.zip mxe-3c2562b8d294c549ae5110b00de463a9898e5be1.tar.gz mxe-3c2562b8d294c549ae5110b00de463a9898e5be1.tar.bz2 |
gdb: Use "system" readline, enable shared.
Diffstat (limited to 'src/gdb.mk')
-rw-r--r-- | src/gdb.mk | 9 |
1 files changed, 3 insertions, 6 deletions
@@ -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 = |