From: Niels Möller Date: Sat, 30 Sep 2023 14:04:11 +0000 (+0200) Subject: Fix extraction of host system for cross build. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=59c3a7cf414e13501c08810e710e6a97efd93e14;p=thirdparty%2Fnettle.git Fix extraction of host system for cross build. --- diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ad61b2c5..2ebdee80 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -212,7 +212,7 @@ remote/s390x: image: $CI_REGISTRY/$BUILDENV_CROSS_IMAGE script: - build=$(dpkg-architecture -qDEB_HOST_GNU_TYPE) - - host="${CI_JOB_NAME#*.cross.}" + - host="${CI_JOB_NAME#cross.}" # not setting CC_FOR_BUILD paired with qemu-user/binfmt somehow causes # config.guess to detect the target as the build platform and not activate # cross-compile mode even though --build is given