]> xenbits.xensource.com Git - people/iwj/xen.git/commitdiff
gdbsx: Honour LDFLAGS when linking
authorIan Jackson <ian.jackson@citrix.com>
Thu, 4 Oct 2018 11:30:37 +0000 (12:30 +0100)
committerIan Jackson <ian.jackson@citrix.com>
Thu, 11 Jul 2019 23:05:33 +0000 (00:05 +0100)
This command does the link, so it needs LDFLAGS.

Signed-off-by: Ian Jackson <ian.jackson@citrix.com>
tools/debugger/gdbsx/Makefile

index 723a2743cc94b203283faa69fa7ced0e9516f151..8d7cd94a31206839bdf7a17248c371091fff3a33 100644 (file)
@@ -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