mirror of
https://gitlab.com/fabinfra/fabaccess/bffh.git
synced 2024-11-23 23:27:57 +01:00
added cargo config for cross compiling
This commit is contained in:
parent
664567465d
commit
160f573312
@ -101,10 +101,7 @@ build:binary-development:
|
|||||||
|
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- cat > /usr/local/cargo/config << EOF
|
- cp cargo-cross-cfg /usr/local/cargo/config
|
||||||
[target.armv7-unknown-linux-gnueabihf]
|
|
||||||
linker = "arm-linux-gnueabihf-gcc"
|
|
||||||
EOF
|
|
||||||
- dkpg --add-architecture armhf
|
- dkpg --add-architecture armhf
|
||||||
- apt-get update -yqq
|
- apt-get update -yqq
|
||||||
- apt-get install -y libc6-armhf-cross libc6-dev-armhf-cross gcc-arm-linux-gnueabihf
|
- apt-get install -y libc6-armhf-cross libc6-dev-armhf-cross gcc-arm-linux-gnueabihf
|
||||||
|
Loading…
Reference in New Issue
Block a user