aboutsummaryrefslogtreecommitdiffstats
path: root/xen/Rules.mk
diff options
context:
space:
mode:
authorTim Deegan <Tim.Deegan@citrix.com>2011-03-08 10:23:52 +0000
committerTim Deegan <Tim.Deegan@citrix.com>2011-03-08 10:23:52 +0000
commit87c604dae49a97875c69069fb2ad5d15a5bade7e (patch)
treef4ef9ba3e38a3529a4873fc1ac4903989f2ba04a /xen/Rules.mk
parent07d9f1dd0d623acc309c8c1f1731e62d141b029b (diff)
downloadxen-87c604dae49a97875c69069fb2ad5d15a5bade7e.tar.gz
xen-87c604dae49a97875c69069fb2ad5d15a5bade7e.tar.bz2
xen-87c604dae49a97875c69069fb2ad5d15a5bade7e.zip
Tidy makefiles to use CFLAGS-$(foo) idiom instead of ifeq.
Signed-off-by: Tim Deegan <Tim.Deegan@citrix.com> Acked-by: Keir Fraser <keir@xen.org>
Diffstat (limited to 'xen/Rules.mk')
-rw-r--r--xen/Rules.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/xen/Rules.mk b/xen/Rules.mk
index 9a9829bcb3..c39706a6c7 100644
--- a/xen/Rules.mk
+++ b/xen/Rules.mk
@@ -9,7 +9,6 @@ perfc_arrays ?= n
lock_profile ?= n
crash_debug ?= n
frame_pointer ?= n
-clang ?= n
lto ?= n
XEN_ROOT=$(BASEDIR)/..
@@ -83,6 +82,8 @@ AFLAGS += $(AFLAGS-y) $(filter-out -std=gnu%,$(filter-out -flto,$(CFLAGS)))
# LDFLAGS are only passed directly to $(LD)
LDFLAGS += $(LDFLAGS_DIRECT)
+LDFLAGS += $(LDFLAGS-y)
+
include Makefile
# Ensure each subdirectory has exactly one trailing slash.