comparison src/gdb.mk @ 4682:d49157ddd78f

gdb: don't use $(ENABLE_SHARED_OR_STATIC) in configure options
author John W. Eaton <jwe@octave.org>
date Sat, 21 Apr 2018 10:47:40 -0400
parents 4a54e62e7ea3
children d9a0488f792d
comparison
equal deleted inserted replaced
4681:7914e218df3e 4682:d49157ddd78f
15 $(SED) -n 's,.*<a href="gdb-\([0-9][^"]*\)\.tar.*,\1,p' | \ 15 $(SED) -n 's,.*<a href="gdb-\([0-9][^"]*\)\.tar.*,\1,p' | \
16 $(SORT) -V | \ 16 $(SORT) -V | \
17 tail -1 17 tail -1
18 endef 18 endef
19 19
20 ## Don't use --disable-static when configuring gdb as that will
21 ## disable building the required libbfd.a library.
22
20 define $(PKG)_BUILD 23 define $(PKG)_BUILD
21 cd '$(1)' && ./configure \ 24 cd '$(1)' && ./configure \
22 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ 25 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \
23 $(ENABLE_SHARED_OR_STATIC) \
24 --prefix='$(HOST_PREFIX)' \ 26 --prefix='$(HOST_PREFIX)' \
25 --with-system-readline \ 27 --with-system-readline \
26 CONFIG_SHELL=$(SHELL) 28 CONFIG_SHELL=$(SHELL)
27 $(MAKE) -C '$(1)' -j '$(JOBS)' 29 $(MAKE) -C '$(1)' -j '$(JOBS)'
28 $(MAKE) -C '$(1)' -j 1 install MAKEINFO=true 30 $(MAKE) -C '$(1)' -j 1 install MAKEINFO=true