From 4dcb51bde55e8d41988c9ca974af252ee4095408 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Mon, 2 Jun 2014 08:10:23 +0200 Subject: use correct -march for x86_64 --- target/config/Config.in.cpu | 2 +- target/config/Config.in.target | 2 +- target/x86_64/systems/qemu-x86_64 | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'target') diff --git a/target/config/Config.in.cpu b/target/config/Config.in.cpu index 3d4edc056..56678b639 100644 --- a/target/config/Config.in.cpu +++ b/target/config/Config.in.cpu @@ -108,7 +108,7 @@ config ADK_TARGET_CPU_ARCH string default "x86_64" if ADK_CPU_X86_64 default "x86_64" if ADK_CPU_AMDFAM10 - default "x86_64" if ADK_CPU_ATHLON + default "i686" if ADK_CPU_ATHLON default "i486" if ADK_CPU_I486 default "i586" if ADK_CPU_I586 default "i686" if ADK_CPU_I686 diff --git a/target/config/Config.in.target b/target/config/Config.in.target index d4924985f..c1cf1d534 100644 --- a/target/config/Config.in.target +++ b/target/config/Config.in.target @@ -12,7 +12,7 @@ config ADK_TARGET_CFLAGS default "-march=i486" if ADK_CPU_I486 default "-march=i586" if ADK_CPU_I586 default "-march=i686" if ADK_CPU_I686 - default "-mtune=generic" if ADK_CPU_X86_64 + default "-march=x86-64" if ADK_CPU_X86_64 default "-march=athlon" if ADK_CPU_ATHLON default "-march=pentium-m" if ADK_CPU_PENTIUM_M default "-march=atom" if ADK_CPU_ATOM diff --git a/target/x86_64/systems/qemu-x86_64 b/target/x86_64/systems/qemu-x86_64 index 78e82294a..11e5c92cb 100644 --- a/target/x86_64/systems/qemu-x86_64 +++ b/target/x86_64/systems/qemu-x86_64 @@ -2,7 +2,7 @@ config ADK_TARGET_SYSTEM_QEMU_X86_64 bool "Qemu Emulator" select ADK_x86_64 select ADK_qemu_x86_64 - select ADK_CPU_ATHLON + select ADK_CPU_X86_64 select ADK_LINUX_64 select ADK_TARGET_QEMU select ADK_TARGET_KERNEL_BZIMAGE -- cgit v1.2.3