Re: [PATCH v2 14/15] selftests/nolibc: use correct clang target for s390/powerz

2024-08-10 Thread Willy Tarreau
On Wed, Aug 07, 2024 at 11:51:50PM +0200, Thomas Weißschuh wrote: > The target names between GCC and clang differ for s390. > While GCC uses "s390", clang uses "powerz". (...) > +# GCC uses "s390", clang "systemz" > +CLANG_CROSS_FLAGS := $(subst > --target=s390-linux,--target=systemz-linux,$(CLANG

[PATCH v2 14/15] selftests/nolibc: use correct clang target for s390/powerz

2024-08-07 Thread Thomas Weißschuh
The target names between GCC and clang differ for s390. While GCC uses "s390", clang uses "powerz". This mapping is not handled by tools/scripts/Makefile.include, so do it in the nolibc-test Makefile. Signed-off-by: Thomas Weißschuh --- tools/testing/selftests/nolibc/Makefile | 3 +++ 1 file cha