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.14.0+80-gd101b417b7-1+rpi1^2~63^2~3142 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=7606995e7a5a51c1a0af1ea7d9d23e9caddec932;p=xen.git gdbsx: Honour LDFLAGS when linking This command does the link, so it needs LDFLAGS. Signed-off-by: Ian Jackson Acked-by: Wei Liu Acked-by: Elena Ufimtseva --- 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