]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
libffi: fix native build being not portable
authorMaxime Roussin-Bélanger <maxime.roussinbelanger@gmail.com>
Tue, 21 Jun 2022 14:26:19 +0000 (10:26 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 22 Jun 2022 21:40:25 +0000 (22:40 +0100)
commitcddaecac1fdd4d033c2ff8ccaf1d60e1c598d5b7
treee201b787b149b03b9cd6b12cb050b7cd6c64b451
parentee9a40d5d433d2babb010e11973a97f651d074e9
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.

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>
meta/recipes-support/libffi/libffi_3.4.2.bb