aboutsummaryrefslogtreecommitdiffstats
path: root/xen/Rules.mk
diff options
context:
space:
mode:
Diffstat (limited to 'xen/Rules.mk')
-rw-r--r--xen/Rules.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/xen/Rules.mk b/xen/Rules.mk
index d3348144c0..59d0dc7c31 100644
--- a/xen/Rules.mk
+++ b/xen/Rules.mk
@@ -62,6 +62,9 @@ endif
AFLAGS-y += -D__ASSEMBLY__
+# Clang's built-in assembler can't handle .code16/.code32/.code64 yet
+AFLAGS-$(clang) += -no-integrated-as
+
ALL_OBJS := $(ALL_OBJS-y)
# Get gcc to generate the dependencies for us.