aboutsummaryrefslogtreecommitdiff
path: root/tests/tcg/i386/Makefile.softmmu-target
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tcg/i386/Makefile.softmmu-target')
-rw-r--r--tests/tcg/i386/Makefile.softmmu-target1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/tcg/i386/Makefile.softmmu-target b/tests/tcg/i386/Makefile.softmmu-target
index e1d880f9b5..0a4364868c 100644
--- a/tests/tcg/i386/Makefile.softmmu-target
+++ b/tests/tcg/i386/Makefile.softmmu-target
@@ -14,6 +14,7 @@ CRT_OBJS=boot.o
ifeq ($(TARGET_X86_64), y)
CRT_PATH=$(X64_SYSTEM_SRC)
+CFLAGS=-march=x86-64
LINK_SCRIPT=$(X64_SYSTEM_SRC)/kernel.ld
LDFLAGS=-Wl,-T$(LINK_SCRIPT) -Wl,-melf_x86_64
else