From: Ian Jackson Date: Thu, 4 Oct 2018 11:30:37 +0000 (+0100) Subject: gdbsx: Honour LDFLAGS when linking X-Git-Tag: archive/raspbian/4.11.4+99-g8bce4698f6-1+rpi1^2~36 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=11f2fc34014631f34cde014353ca932c9788e5c9;p=xen.git 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 --- 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