From: Ian Jackson Date: Thu, 4 Oct 2018 11:31:25 +0000 (+0100) Subject: libfsimage: Honour general LDFLAGS X-Git-Tag: archive/raspbian/4.11.4-1+rpi1^2~36 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=24f8ac16100fd9db248c38899320c0082bcdc1c8;p=xen.git libfsimage: Honour general LDFLAGS Do not reset LDFLAGS to empty. Instead, append the fsimage-special LDFLAGS. Signed-off-by: Ian Jackson --- 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)