From bc8138c51a4f5ab1863b48cfa280f563ebaf0ebe Mon Sep 17 00:00:00 2001 From: Nils Andreas Svee Date: Sun, 27 Nov 2022 20:47:07 +0100 Subject: [PATCH] jenkinsfile: force static builds --- Jenkinsfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Jenkinsfile b/Jenkinsfile index 2fd3a93..b214ef3 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -38,6 +38,7 @@ pipeline { CC = "${GCC_TARGET}-gcc" LINKER_ENV_KEY = getLinkerEnv(TARGET) PATH = "${WORKSPACE}/${GCC_TARGET}-cross/bin:${env.HOME}/.cargo/bin:${env.PATH}" + RUSTFLAGS = "-C target-feature=+crt-static" TOOLCHAIN_URL = "https://musl.cc/${GCC_TARGET}-cross.tgz" }