tell cargo which linker to use
This commit is contained in:
parent
f0b6314737
commit
170a977587
|
@ -40,6 +40,8 @@ if [[ $TARGET != $HOST && ! $TARGET =~ ^i.86- ]]; then
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
export CARGO_TARGET_$(echo $TARGET | tr a-z- A-Z_)_LINKER=$GCC_TRIPLE-gcc
|
||||||
|
|
||||||
if [[ $RUN_TESTS == y ]]; then
|
if [[ $RUN_TESTS == y ]]; then
|
||||||
# NOTE(export) so this can reach the processes that `cargo test` spawns
|
# NOTE(export) so this can reach the processes that `cargo test` spawns
|
||||||
export QEMU_LD_PREFIX=/usr/$GCC_TRIPLE
|
export QEMU_LD_PREFIX=/usr/$GCC_TRIPLE
|
||||||
|
|
Loading…
Reference in New Issue