]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
gcc-target: Use --with-arch=native for target gcc
authorKhem Raj <raj.khem@gmail.com>
Mon, 16 Mar 2020 22:20:56 +0000 (15:20 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 21 Mar 2020 22:38:19 +0000 (22:38 +0000)
commitf9e410521c92e2458ba7e2ca63d28434618b9f25
tree2746cc7dbb020fa42ad209e232edf524e7bdfe06
parent1b8451aa4ba2b42b1eb1dc938fa3397d3434839a
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]

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>
meta/recipes-devtools/gcc/gcc-target.inc