compileopts: fix CGo when cross compiling

Use the cross compiling toolchains for compiling/linking. This fixes CGo
support, and therefore allows CGo to be used when cross compiling to
Linux on a different architecture.
This commit also removes some redundant testing code.
This commit is contained in:
Ayke van Laethem
2020-01-14 13:46:54 +01:00
committed by Ron Evans
parent d5e11fa19b
commit 8f8232aada
3 changed files with 14 additions and 11 deletions
-2
View File
@@ -23,9 +23,7 @@ commands:
libclang<<parameters.llvm>>-dev \
lld<<parameters.llvm>> \
gcc-arm-linux-gnueabihf \
libc6-dev-armel-cross \
gcc-aarch64-linux-gnu \
libc6-dev-arm64-cross \
qemu-system-arm \
qemu-user \
gcc-avr \