changeset 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 7914e218df3e
children ffb45d855a81
files src/gdb.mk
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/gdb.mk	Sat Apr 21 08:33:06 2018 -0400
+++ b/src/gdb.mk	Sat Apr 21 10:47:40 2018 -0400
@@ -17,10 +17,12 @@
     tail -1
 endef
 
+## Don't use --disable-static when configuring gdb as that will
+## disable building the required libbfd.a library.
+
 define $(PKG)_BUILD
     cd '$(1)' && ./configure \
         $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \
-        $(ENABLE_SHARED_OR_STATIC) \
         --prefix='$(HOST_PREFIX)' \
         --with-system-readline \
         CONFIG_SHELL=$(SHELL)