From 160f5733125a0c5144e4e5e07407ac20ebea82ed Mon Sep 17 00:00:00 2001 From: Kai Kriegel Date: Tue, 14 Dec 2021 15:34:14 +0100 Subject: [PATCH] added cargo config for cross compiling --- .gitlab-ci.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 71dce1e..4edcbfe 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -101,10 +101,7 @@ build:binary-development: before_script: - - cat > /usr/local/cargo/config << EOF - [target.armv7-unknown-linux-gnueabihf] - linker = "arm-linux-gnueabihf-gcc" - EOF + - cp cargo-cross-cfg /usr/local/cargo/config - dkpg --add-architecture armhf - apt-get update -yqq - apt-get install -y libc6-armhf-cross libc6-dev-armhf-cross gcc-arm-linux-gnueabihf