aboutsummaryrefslogtreecommitdiffstats
path: root/xen/Rules.mk
diff options
context:
space:
mode:
Diffstat (limited to 'xen/Rules.mk')
-rw-r--r--xen/Rules.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/Rules.mk b/xen/Rules.mk
index d333e563ce..08c26aca44 100644
--- a/xen/Rules.mk
+++ b/xen/Rules.mk
@@ -72,7 +72,7 @@ AFLAGS := $(strip $(AFLAGS) $(AFLAGS-y))
AFLAGS += $(patsubst -std=gnu%,,$(CFLAGS))
# LDFLAGS are only passed directly to $(LD)
-LDFLAGS += $(LDFLAGS_DIRECT)
+LDFLAGS := $(strip $(LDFLAGS) $(LDFLAGS_DIRECT))
include Makefile