From 208e7d30b2f6660496b489e77ea258cdd5d9887b Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Thu, 4 Oct 2018 12:30:37 +0100 Subject: [PATCH] gdbsx: Honour LDFLAGS when linking This command does the link, so it needs LDFLAGS. Signed-off-by: Ian Jackson Gbp-Pq: Name 0014-gdbsx-Honour-LDFLAGS-when-linking.patch --- tools/debugger/gdbsx/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/debugger/gdbsx/Makefile b/tools/debugger/gdbsx/Makefile index 723a2743cc..8d7cd94a31 100644 --- a/tools/debugger/gdbsx/Makefile +++ b/tools/debugger/gdbsx/Makefile @@ -26,7 +26,7 @@ uninstall: rm -f $(DESTDIR)$(sbindir)/gdbsx gdbsx: gx/gx_all.a xg/xg_all.a - $(CC) -o $@ $^ + $(CC) $(LDFLAGS) -o $@ $^ xg/xg_all.a: $(MAKE) -C xg -- 2.30.2