Files
Centos-kernel-stream-10/tools/scripts
Anubhav Shelat e36cee6ae9 tools/build: Fix s390(x) cross-compilation with clang
JIRA: https://issues.redhat.com/browse/RHEL-78200

upstream
========
commit a40f0cdce78be8a559ee8a85c908049c65a410b2
Author: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Date: Fri Jun 20 13:00:27 2025 +0200

description
===========
The heuristic to derive a clang target triple from a GCC one does not work
for s390. GCC uses "s390-linux" while clang expects "s390x-linux" or
"powerz-linux".

Add an explicit override.

    Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
    Link: https://lore.kernel.org/r/20250620-tools-cross-s390-v2-1-ecda886e00e5@linutronix.de
    Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>

Signed-off-by: Anubhav Shelat <ashelat@redhat.com>
2025-10-14 12:32:54 +01:00
..