Discussion:
[Xen-changelog] [xen master] libfsimage: Honour general LDFLAGS
p***@xen.org
2018-10-11 00:46:04 UTC
Permalink
commit a696f4e63ca51693736a6cf7b911522287238653
Author: Ian Jackson <***@citrix.com>
AuthorDate: Thu Oct 4 12:31:25 2018 +0100
Commit: Ian Jackson <***@eu.citrix.com>
CommitDate: Mon Oct 8 15:20:19 2018 +0100

libfsimage: Honour general LDFLAGS

Do not reset LDFLAGS to empty. Instead, append the fsimage-special
LDFLAGS.

Signed-off-by: Ian Jackson <***@citrix.com>
Acked-by: Wei Liu <***@citrix.com>
---
tools/libfsimage/common/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/libfsimage/common/Makefile b/tools/libfsimage/common/Makefile
index 0791fc9923..a4655c421c 100644
--- a/tools/libfsimage/common/Makefile
+++ b/tools/libfsimage/common/Makefile
@@ -6,7 +6,7 @@ MINOR = 0

LDFLAGS-$(CONFIG_SunOS) = -Wl,-M -Wl,mapfile-SunOS
LDFLAGS-$(CONFIG_Linux) = -Wl,mapfile-GNU
-LDFLAGS = $(LDFLAGS-y)
+LDFLAGS += $(LDFLAGS-y)

CFLAGS += $(PTHREAD_CFLAGS)
LDFLAGS += $(PTHREAD_LDFLAGS)
--
generated by git-patchbot for /home/xen/git/xen.git#master

Loading...