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:
|
||||
- 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
|
||||
|
Loading…
Reference in New Issue
Block a user