comparison src/gdb.mk @ 5307:904c78a5156c

* src/gdb.mk: update to v9.1
author John Donoghue
date Tue, 11 Feb 2020 15:52:38 -0500
parents 5eea3b8e1aed
children 01e8a979643f
comparison
equal deleted inserted replaced
5306:4ae7a3f9bc16 5307:904c78a5156c
1 # This file is part of MXE. 1 # This file is part of MXE.
2 # See index.html for further information. 2 # See index.html for further information.
3 3
4 PKG := gdb 4 PKG := gdb
5 $(PKG)_VERSION := 8.3.1 5 $(PKG)_VERSION := 9.1
6 $(PKG)_CHECKSUM := d403ba208945bbf04f8130ea4853730cdf0c8fc7 6 $(PKG)_CHECKSUM := a50e13e1eecea468ea28c4a23d8c5a84f4db25be
7 $(PKG)_SUBDIR := gdb-$($(PKG)_VERSION) 7 $(PKG)_SUBDIR := gdb-$($(PKG)_VERSION)
8 $(PKG)_FILE := gdb-$($(PKG)_VERSION).tar.xz 8 $(PKG)_FILE := gdb-$($(PKG)_VERSION).tar.xz
9 $(PKG)_URL := ftp://ftp.gnu.org/pub/gnu/$(PKG)/$($(PKG)_FILE) 9 $(PKG)_URL := ftp://ftp.gnu.org/pub/gnu/$(PKG)/$($(PKG)_FILE)
10 $(PKG)_URL_2 := https://ftpmirror.gnu.org/$(PKG)/$($(PKG)_FILE) 10 $(PKG)_URL_2 := https://ftpmirror.gnu.org/$(PKG)/$($(PKG)_FILE)
11 $(PKG)_DEPS := expat libiconv readline zlib 11 $(PKG)_DEPS := expat libiconv readline zlib
19 19
20 ## Don't use --disable-static when configuring gdb as that will 20 ## Don't use --disable-static when configuring gdb as that will
21 ## disable building the required libbfd.a library. 21 ## disable building the required libbfd.a library.
22 22
23 define $(PKG)_BUILD 23 define $(PKG)_BUILD
24 cd '$(1)' && ./configure \ 24 mkdir '$(1)/.build'
25 cd '$(1)/.build' && ../configure \
25 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ 26 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \
26 --prefix='$(HOST_PREFIX)' \ 27 --prefix='$(HOST_PREFIX)' \
27 --with-system-readline \ 28 --with-system-readline \
28 CONFIG_SHELL=$(SHELL) 29 CONFIG_SHELL=$(SHELL)
29 $(MAKE) -C '$(1)' -j '$(JOBS)' 30 $(MAKE) -C '$(1)/.build' -j '$(JOBS)'
30 $(MAKE) -C '$(1)' -j 1 install MAKEINFO=true 31 $(MAKE) -C '$(1)/.build' -j 1 install MAKEINFO=true
31 endef 32 endef