tests/docker: Fix fedora-i386-cross cross-compilation
authorRichard Henderson <richard.henderson@linaro.org>
Thu, 30 Sep 2021 16:36:36 +0000 (12:36 -0400)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 5 Oct 2021 23:53:17 +0000 (16:53 -0700)
commit08a13c4b247338329951238a6c47b94f70c387d2
tree3dddbca9a04fed29b8fffa43e8ee6c54f0c1edb6
parent6a2b0fd171082eae19f1da043cf53b5a5a7b9c6c
tests/docker: Fix fedora-i386-cross cross-compilation

By using PKG_CONFIG_PATH instead of PKG_CONFIG_LIBDIR,
we were still including the 64-bit packages.  Install
pcre-devel.i686 to fill a missing glib2 dependency.

By using --extra-cflags instead of --cpu, we incorrectly
use the wrong probing during meson.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Richard W.M. Jones <rjones@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20210930163636.721311-3-richard.henderson@linaro.org>
tests/docker/dockerfiles/fedora-i386-cross.docker