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:
@@ -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)
