From 50ad323a21e3343b70544f41db56ee90e912b525 Mon Sep 17 00:00:00 2001 From: Jakob Naucke Date: Thu, 14 Jan 2021 16:27:09 +0100 Subject: [PATCH] agent: Build for glibc on s390x Since there is no Rust target for musl on s390x, builds on s390x should use glibc. This commit makes glibc the default on s390x as per the agent Makefile. Fixes: #1262 Signed-off-by: Jakob Naucke --- src/agent/Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/agent/Makefile b/src/agent/Makefile index 18167a91a3..d467e5fcd9 100644 --- a/src/agent/Makefile +++ b/src/agent/Makefile @@ -41,6 +41,11 @@ ifeq ($(ARCH), ppc64le) $(warning "WARNING: powerpc64le-unknown-linux-musl target is unavailable") endif +ifeq ($(ARCH), s390x) + override LIBC = gnu + $(warning "WARNING: s390x-unknown-linux-musl target is unavailable") +endif + EXTRA_RUSTFLAGS := ifeq ($(ARCH), aarch64)