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+37-g3263f257ca-1+rpi1^2~36 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=d52613b96350fbe6f2c382489baa9e600cac1197;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