Skip to content

Commit 89f0cb3

Browse files
committed
Specify linker in m68k CI
1 parent 1bbe594 commit 89f0cb3

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/m68k.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,6 @@ jobs:
6363
- name: Set env
6464
run: |
6565
echo "workspace="$GITHUB_WORKSPACE >> $GITHUB_ENV
66-
67-
6866
6967
#- name: Cache rust repository
7068
## We only clone the rust repository for rustc tests
@@ -85,7 +83,7 @@ jobs:
8583
run: |
8684
./y.sh prepare --only-libcore --cross
8785
./y.sh build --sysroot --features compiler_builtins/no-f16-f128 --target-triple m68k-unknown-linux-gnu --target ${{ github.workspace }}/target_specs/m68k-unknown-linux-gnu.json
88-
./y.sh cargo build --manifest-path=./tests/hello-world/Cargo.toml --target ${{ github.workspace }}/target_specs/m68k-unknown-linux-gnu.json
86+
CG_RUSTFLAGS="-Clinker=m68k-unknown-linux-gnu-gcc" ./y.sh cargo build --manifest-path=./tests/hello-world/Cargo.toml --target ${{ github.workspace }}/target_specs/m68k-unknown-linux-gnu.json
8987
./y.sh clean all
9088
9189
- name: Build

0 commit comments

Comments
 (0)