[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen staging] gdbsx: Honour LDFLAGS when linking



commit 7606995e7a5a51c1a0af1ea7d9d23e9caddec932
Author:     Ian Jackson <ian.jackson@xxxxxxxxxx>
AuthorDate: Thu Oct 4 12:30:37 2018 +0100
Commit:     Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
CommitDate: Mon Oct 15 14:49:33 2018 +0100

    gdbsx: Honour LDFLAGS when linking
    
    This command does the link, so it needs LDFLAGS.
    
    Signed-off-by: Ian Jackson <ian.jackson@xxxxxxxxxx>
    Acked-by: Wei Liu <wei.liu2@xxxxxxxxxx>
    Acked-by: Elena Ufimtseva <elena.ufimtseva@xxxxxxxxxx>
---
 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
--
generated by git-patchbot for /home/xen/git/xen.git#staging

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/xen-changelog

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.