Blame patches/gdb-7.12.local.patch

Lucio Andrés Illanes Albornoz 9a41ac
--- gdb-7.12/gdb/Makefile.in.orig	2016-10-07 18:09:21.000000000 +0100
Lucio Andrés Illanes Albornoz 9a41ac
+++ gdb-7.12/gdb/Makefile.in	2021-05-06 13:28:59.930619686 +0100
Lucio Andrés Illanes Albornoz 9a41ac
@@ -143,7 +143,7 @@
Lucio Andrés Illanes Albornoz 9a41ac
 
Lucio Andrés Illanes Albornoz 9a41ac
 # Where is the BFD library?  Typically in ../bfd.
Lucio Andrés Illanes Albornoz 9a41ac
 BFD_DIR = ../bfd
Lucio Andrés Illanes Albornoz 9a41ac
-BFD = $(BFD_DIR)/libbfd.a
Lucio Andrés Illanes Albornoz 9a41ac
+BFD = $(BFD_DIR)/libbfd.la
Lucio Andrés Illanes Albornoz 9a41ac
 BFD_SRC = $(srcdir)/$(BFD_DIR)
Lucio Andrés Illanes Albornoz 9a41ac
 BFD_CFLAGS = -I$(BFD_DIR) -I$(BFD_SRC)
Lucio Andrés Illanes Albornoz 9a41ac
 
Lucio Andrés Illanes Albornoz 9a41ac
@@ -468,7 +468,7 @@
Lucio Andrés Illanes Albornoz 9a41ac
 # disassemblers?
Lucio Andrés Illanes Albornoz 9a41ac
 OPCODES_DIR = ../opcodes
Lucio Andrés Illanes Albornoz 9a41ac
 OPCODES_SRC = $(srcdir)/$(OPCODES_DIR)
Lucio Andrés Illanes Albornoz 9a41ac
-OPCODES = $(OPCODES_DIR)/libopcodes.a
Lucio Andrés Illanes Albornoz 9a41ac
+OPCODES = $(OPCODES_DIR)/libopcodes.la
Lucio Andrés Illanes Albornoz 9a41ac
 # Where are the other opcode tables which only have header file
Lucio Andrés Illanes Albornoz 9a41ac
 # versions?
Lucio Andrés Illanes Albornoz 9a41ac
 OP_INCLUDE = $(INCLUDE_DIR)/opcode
Lucio Andrés Illanes Albornoz 9a41ac
@@ -1407,7 +1407,8 @@
Lucio Andrés Illanes Albornoz 9a41ac
 # Removing the old gdb first works better if it is running, at least on SunOS.
Lucio Andrés Illanes Albornoz 9a41ac
 gdb$(EXEEXT): gdb.o $(LIBGDB_OBS) $(ADD_DEPS) $(CDEPS) $(TDEPLIBS)
Lucio Andrés Illanes Albornoz 9a41ac
 	rm -f gdb$(EXEEXT)
Lucio Andrés Illanes Albornoz 9a41ac
-	$(CC_LD) $(INTERNAL_LDFLAGS) $(WIN32LDAPP) \
Lucio Andrés Illanes Albornoz 9a41ac
+	$(LIBTOOL) --heuristics=../opcodes/libtool --tag=CC --mode=link \
Lucio Andrés Illanes Albornoz 9a41ac
+		$(CC_LD) $(INTERNAL_LDFLAGS) $(WIN32LDAPP) \
Lucio Andrés Illanes Albornoz 9a41ac
 		-o gdb$(EXEEXT) gdb.o $(LIBGDB_OBS) \
Lucio Andrés Illanes Albornoz 9a41ac
 		$(TDEPLIBS) $(TUI_LIBRARY) $(CLIBS) $(LOADLIBES)
Lucio Andrés Illanes Albornoz 9a41ac