diff options
author | Nathan Rossi <nathan@nathanrossi.com> | 2020-12-15 08:34:58 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-12-18 22:52:13 +0000 |
commit | d39b686cc5fcc89405ffeb560ea64b5d305b0608 (patch) | |
tree | 1d6569b48b02e122b32425ae3f9b4f4ae17bf253 /meta/classes | |
parent | ebbb732d7707d3e755dd9760fc292f86253f86b4 (diff) | |
download | openembedded-core-contrib-d39b686cc5fcc89405ffeb560ea64b5d305b0608.tar.gz |
gcc: Add patch to resolve i*86 tune configuration overrides
When compiling gcc-runtime for i686 libatomic, libgomp and libitm are
compiled with additional '-march' and '-mtune' overrides. This typically
does not cause build errors (e.g. core2-32 tune), and results in less
optimally tuned outputs. However with specific TUNE_CCARGS (e.g. has
'-mfpmath=sse' but not '-msse*'), the build errors with conflicting
'-mfpmath' options.
This is caused by gcc-runtime specific configure scripts and Makefile
options that override by adding additional '-march'/'-mtune' args. OE
builds gcc-runtime differently to other build systems, and provides
target specific arch/tune options directly. As such, this change adds a
patch for gcc to remove the specific cases where the args are added.
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
0 files changed, 0 insertions, 0 deletions