diff options
author | Maxime Roussin-Bélanger <maxime.roussinbelanger@gmail.com> | 2022-06-21 10:26:19 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-07-08 08:27:16 +0100 |
commit | cc75d77bc93017b2bdaaaf30959a94ef96c9e379 (patch) | |
tree | 729f75ae530a61ca5cb06f8ecb748a4e151b8142 /scripts | |
parent | ac874996c96d145440343136e273ab2552082275 (diff) | |
download | poky-cc75d77bc93017b2bdaaaf30959a94ef96c9e379.tar.gz |
libffi: fix native build being not portable
Without `--with-gcc-arch=generic` libffi looks up the cpuid to automatically determine
which mtune/march to use. This makes the native sstate-cache unuseable since it's
possible to have a newer cpu building the recipe and the library being pulled from
another older cpu which doesn't have the instruction.
(From OE-Core rev: 58804e0051e3b77e0378aa4accbd26b2588b68e7)
Signed-off-by: Maxime Roussin-Bélanger <maxime.roussinbelanger@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit cddaecac1fdd4d033c2ff8ccaf1d60e1c598d5b7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions