mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-15 14:13:31 -06:00
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>
This commit is contained in:
parent
6a2b0fd171
commit
08a13c4b24
1 changed files with 3 additions and 2 deletions
|
@ -18,13 +18,14 @@ ENV PACKAGES \
|
||||||
glibc-static.i686 \
|
glibc-static.i686 \
|
||||||
gnutls-devel.i686 \
|
gnutls-devel.i686 \
|
||||||
nettle-devel.i686 \
|
nettle-devel.i686 \
|
||||||
|
pcre-devel.i686 \
|
||||||
perl-Test-Harness \
|
perl-Test-Harness \
|
||||||
pixman-devel.i686 \
|
pixman-devel.i686 \
|
||||||
sysprof-capture-devel.i686 \
|
sysprof-capture-devel.i686 \
|
||||||
zlib-devel.i686
|
zlib-devel.i686
|
||||||
|
|
||||||
ENV QEMU_CONFIGURE_OPTS --extra-cflags=-m32 --disable-vhost-user
|
ENV QEMU_CONFIGURE_OPTS --cpu=i386 --disable-vhost-user
|
||||||
ENV PKG_CONFIG_PATH /usr/lib/pkgconfig
|
ENV PKG_CONFIG_LIBDIR /usr/lib/pkgconfig
|
||||||
|
|
||||||
RUN dnf update -y && dnf install -y $PACKAGES
|
RUN dnf update -y && dnf install -y $PACKAGES
|
||||||
RUN rpm -q $PACKAGES | sort > /packages.txt
|
RUN rpm -q $PACKAGES | sort > /packages.txt
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue