Skip to content

Commit 170a977

Browse files
author
Jorge Aparicio
committed
tell cargo which linker to use
1 parent f0b6314 commit 170a977

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ci/env.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ if [[ $TARGET != $HOST && ! $TARGET =~ ^i.86- ]]; then
4040
;;
4141
esac
4242

43+
export CARGO_TARGET_$(echo $TARGET | tr a-z- A-Z_)_LINKER=$GCC_TRIPLE-gcc
44+
4345
if [[ $RUN_TESTS == y ]]; then
4446
# NOTE(export) so this can reach the processes that `cargo test` spawns
4547
export QEMU_LD_PREFIX=/usr/$GCC_TRIPLE

0 commit comments

Comments
 (0)