[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 1/7] configure: Add system = 'linux' for meson when cross-comp
From: |
Thomas Huth |
Subject: |
[PATCH v2 1/7] configure: Add system = 'linux' for meson when cross-compiling |
Date: |
Sun, 23 Aug 2020 13:17:51 +0200 |
Meson needs the "system = xyz" line when cross-compiling. We are already
adding a "system = 'windows'" for the MinGW cross-compilation case here,
so let's add a "system = 'linux'" now for Linux hosts, too.
Signed-off-by: Thomas Huth <thuth@redhat.com>
---
configure | 3 +++
1 file changed, 3 insertions(+)
diff --git a/configure b/configure
index d9ca87fbbb..01204ba0b5 100755
--- a/configure
+++ b/configure
@@ -8208,6 +8208,9 @@ if test -n "$cross_prefix"; then
?:*) pre_prefix=/ ;;
esac
fi
+ if test "$linux" = "yes" ; then
+ echo "system = 'linux'" >> $cross
+ fi
case "$ARCH" in
i386|x86_64)
echo "cpu_family = 'x86'" >> $cross
--
2.18.2
- [PATCH v2 0/7] Run cross-compilation build tests in the gitlab-CI, Thomas Huth, 2020/08/23
- [PATCH v2 2/7] tests/docker: Install python3-setuptools in the debian9-mxe containers, Thomas Huth, 2020/08/23
- [PATCH v2 3/7] tests/Makefile: test-image-locking needs CONFIG_POSIX, Thomas Huth, 2020/08/23
- [PATCH v2 4/7] tests/Makefile: test-replication needs CONFIG_POSIX, Thomas Huth, 2020/08/23
- [PATCH v2 6/7] configure: Allow automatic WHPX detection, Thomas Huth, 2020/08/23
- [PATCH v2 5/7] dockerfiles/debian-win64-cross: Download WHPX MinGW headers, Thomas Huth, 2020/08/23
- [PATCH v2 7/7] gitlab-ci: Add cross-compiling build tests, Thomas Huth, 2020/08/23
- [PATCH v2 1/7] configure: Add system = 'linux' for meson when cross-compiling,
Thomas Huth <=
- Re: [PATCH v2 0/7] Run cross-compilation build tests in the gitlab-CI, Paolo Bonzini, 2020/08/25