From 0e34b1b74fe984578cf48e1c9b7deefb0995f28e Mon Sep 17 00:00:00 2001 From: Khairul Azhar Kasmiran Date: Sat, 12 Sep 2026 12:45:28 +0800 Subject: [PATCH] Add Meson cross build definition file for s390x (#6729) --- REUSE.toml | 6 ++++++ cross-compile/s390x.txt | 10 ++++++++++ 2 files changed, 16 insertions(+) create mode 100644 cross-compile/s390x.txt diff --git a/REUSE.toml b/REUSE.toml index 0c15d07b1c..703daf768c 100644 --- a/REUSE.toml +++ b/REUSE.toml @@ -344,3 +344,9 @@ path = "patches/**" precedence = "aggregate" SPDX-FileCopyrightText = "2026 RizinOrg " SPDX-License-Identifier = "LGPL-3.0-only" + +[[annotations]] +path = "cross-compile/**" +precedence = "aggregate" +SPDX-FileCopyrightText = "2026 RizinOrg " +SPDX-License-Identifier = "LGPL-3.0-only" diff --git a/cross-compile/s390x.txt b/cross-compile/s390x.txt new file mode 100644 index 0000000000..0ad580622f --- /dev/null +++ b/cross-compile/s390x.txt @@ -0,0 +1,10 @@ +[binaries] +c = 's390x-linux-gnu-gcc-9' +strip = 's390x-linux-gnu-strip' +exe_wrapper = 'qemu-s390x' + +[host_machine] +system = 'linux' +cpu_family = 's390x' +cpu = 's390x' +endian = 'big'