]> xenbits.xensource.com Git - people/iwj/xen.git/commitdiff
tools/Rules.mk: Honour PREPEND_LDFLAGS_XEN_TOOLS
authorIan Jackson <ian.jackson@citrix.com>
Fri, 5 Oct 2018 16:52:54 +0000 (17:52 +0100)
committerIan Jackson <ian.jackson@eu.citrix.com>
Mon, 8 Oct 2018 14:20:19 +0000 (15:20 +0100)
This allows the caller to provide some LDFLAGS to the Xen build
system.

Signed-off-by: Ian Jackson <ian.jackson@citrix.com>
tools/Rules.mk

index 296b722372f37ae7c00940ec244570f5f31fb83a..68f2ed7ce10fec45f77a3ef82fe8489777edf85a 100644 (file)
@@ -9,6 +9,8 @@ include $(XEN_ROOT)/Config.mk
 export _INSTALL := $(INSTALL)
 INSTALL = $(XEN_ROOT)/tools/cross-install
 
+LDFLAGS += $(PREPEND_LDFLAGS_XEN_TOOLS)
+
 XEN_INCLUDE        = $(XEN_ROOT)/tools/include
 XEN_LIBXENTOOLCORE  = $(XEN_ROOT)/tools/libs/toolcore
 XEN_LIBXENTOOLLOG  = $(XEN_ROOT)/tools/libs/toollog