aboutsummaryrefslogtreecommitdiffstats
path: root/xen/arch/x86/Makefile
diff options
context:
space:
mode:
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>2006-03-30 14:31:57 +0100
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>2006-03-30 14:31:57 +0100
commit4734f491063e6b2d43e273a178da06e93a92080d (patch)
treeff0640c60cc84eed6192fdd622ceacc4a5817680 /xen/arch/x86/Makefile
parent31903a3370b4c056d7d97ee3b495bd48677d4ab9 (diff)
downloadxen-4734f491063e6b2d43e273a178da06e93a92080d.tar.gz
xen-4734f491063e6b2d43e273a178da06e93a92080d.tar.bz2
xen-4734f491063e6b2d43e273a178da06e93a92080d.zip
Use AFLAGS for assembly files so we can "+=" more flags.
From: Jimi Xenidis <jimix@watson.ibm.com> Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'xen/arch/x86/Makefile')
-rw-r--r--xen/arch/x86/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/arch/x86/Makefile b/xen/arch/x86/Makefile
index 3fa20dd7d0..c7a2e6ae1d 100644
--- a/xen/arch/x86/Makefile
+++ b/xen/arch/x86/Makefile
@@ -72,7 +72,7 @@ asm-offsets.s: $(TARGET_SUBARCH)/asm-offsets.c $(HDRS)
$(CC) $(CFLAGS) -S -o $@ $<
xen.lds: $(TARGET_SUBARCH)/xen.lds.S $(HDRS)
- $(CC) $(CFLAGS) -P -E -Ui386 -D__ASSEMBLY__ -o $@ $<
+ $(CC) $(CFLAGS) -P -E -Ui386 $(AFLAGS) -o $@ $<
boot/mkelf32: boot/mkelf32.c
$(HOSTCC) $(HOSTCFLAGS) -o $@ $<