File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -26,11 +26,10 @@ TARGET_TRIPLE="m68k-unknown-linux-gnu"
26
26
linker=' '
27
27
RUN_WRAPPER=' '
28
28
if [[ " $HOST_TRIPLE " != " $TARGET_TRIPLE " ]]; then
29
- # if [[ "$TARGET_TRIPLE" == "m68k-unknown-linux-gnu" ]]; then
29
+ if [[ " $TARGET_TRIPLE " == " m68k-unknown-linux-gnu" ]]; then
30
30
# TARGET_TRIPLE="mips-unknown-linux-gnu"
31
- # linker='-Clinker=m68k-linux-gcc'
32
- # el
33
- if [[ " $TARGET_TRIPLE " == " aarch64-unknown-linux-gnu" ]]; then
31
+ linker=' -Clinker=m68k-unknown-linux-gnu-gcc'
32
+ elif [[ " $TARGET_TRIPLE " == " aarch64-unknown-linux-gnu" ]]; then
34
33
# We are cross-compiling for aarch64. Use the correct linker and run tests in qemu.
35
34
linker=' -Clinker=aarch64-linux-gnu-gcc'
36
35
RUN_WRAPPER=' qemu-aarch64 -L /usr/aarch64-linux-gnu'
@@ -61,5 +60,5 @@ export DYLD_LIBRARY_PATH=$LD_LIBRARY_PATH
61
60
# NOTE: To avoid the -fno-inline errors, use /opt/gcc/bin/gcc instead of cc.
62
61
# To do so, add a symlink for cc to /opt/gcc/bin/gcc in our PATH.
63
62
# Another option would be to add the following Rust flag: -Clinker=/opt/gcc/bin/gcc
64
- export PATH=" /opt/m68k-gcc /bin:$PATH "
63
+ export PATH=" /opt/m68k-unknown-linux-gnu /bin:$PATH "
65
64
export TARGET=$TARGET_TRIPLE
You can’t perform that action at this time.
0 commit comments