spack/var/spack/repos/builtin/packages/gdb/gdb-libintl.patch
Robert Mijakovic 0722f59cb2
gdb: resolve issue with libintl_gettext (#22478)
Co-authored-by: Robert Mijakovic <robert.mijakovic@lrz.de>
2021-03-24 11:55:19 +01:00

13 lines
579 B
Diff

diff -Naur gdbserver/Makefile.in gdbserver/Makefile.in
--- gdbserver/Makefile.in 2020-10-24 06:23:02.000000000 +0200
+++ gdbserver/Makefile.in 2021-02-15 13:41:31.732000000 +0100
@@ -388,7 +388,7 @@
$(SILENCE) rm -f $(IPA_LIB)
$(ECHO_CXXLD) $(CC_LD) -shared -fPIC -Wl,--soname=$(IPA_LIB) \
-Wl,--no-undefined $(INTERNAL_CFLAGS) $(INTERNAL_LDFLAGS) \
- -o $(IPA_LIB) ${IPA_OBJS} -ldl -pthread
+ -o $(IPA_LIB) ${IPA_OBJS} $(INTL) -ldl -pthread
# Put the proper machine-specific files first, so M-. on a machine
# specific routine gets the one for the correct machine.