mirror of
https://git.yoctoproject.org/poky
synced 2026-04-17 18:32:12 +02:00
gcc-target: Use --with-arch=native for target gcc
This should help gcc detect and use target ISA on x86_64 machines when -march is not used on cmdline [YOCTO #139] (From OE-Core rev: f9e410521c92e2458ba7e2ca63d28434618b9f25) Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -19,6 +19,7 @@ EXTRA_OECONF_append_armv6 = " --with-arch=armv6${ARMFPARCHEXT}"
|
||||
EXTRA_OECONF_append_armv7a = " --with-arch=armv7-a${ARMFPARCHEXT}"
|
||||
EXTRA_OECONF_append_armv7ve = " --with-arch=armv7ve${ARMFPARCHEXT}"
|
||||
EXTRA_OECONF_append_arc = " --with-cpu=${TUNE_PKGARCH}"
|
||||
EXTRA_OECONF_append_x86-64 = " --with-arch=native"
|
||||
|
||||
# libcc1 requres gcc_cv_objdump when cross build, but gcc_cv_objdump is
|
||||
# set in subdir gcc, so subdir libcc1 can't use it, export it here to
|
||||
|
||||
Reference in New Issue
Block a user