summaryrefslogtreecommitdiffstats
path: root/src/arch/x86_64/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/x86_64/Makefile')
-rw-r--r--src/arch/x86_64/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/arch/x86_64/Makefile b/src/arch/x86_64/Makefile
index 246905cd..b3064b75 100644
--- a/src/arch/x86_64/Makefile
+++ b/src/arch/x86_64/Makefile
@@ -13,6 +13,10 @@ CFLAGS += -m64
ASFLAGS += --64
LDFLAGS += -m elf_x86_64
+# Prevent use of MMX and SSE registers
+#
+CFLAGS += -mno-mmx -mno-sse
+
# EFI requires -fshort-wchar, and nothing else currently uses wchar_t
#
CFLAGS += -fshort-wchar