File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 44
44
ln -s /usr/bin/gcc10-strip /usr/bin/strip && \
45
45
ln -s /usr/bin/gcc10-ranlib /usr/bin/ranlib && \
46
46
ln -s /usr/bin/gcc10-readelf /usr/bin/readelf && \
47
+ ln -sf /usr/bin/gcc10-ld.bfd /usr/bin/gcc10-ld && \
48
+ rm /usr/bin/gcc10-ld.gold && \
47
49
curl https://sh.rustup.rs -sSf | sh -s -- -y \
48
50
--no-modify-path \
49
51
--profile minimal \
58
60
ENV \
59
61
PKG_CONFIG="pkg-config --static" \
60
62
PLATFORM="linux-arm64v8" \
61
- FLAGS="-march=armv8-a -fuse-ld=bfd " \
62
- RUSTFLAGS="-Clink-arg=-fuse-ld=bfd - Zlocation-detail=none -Zfmt-debug=none" \
63
+ FLAGS="-march=armv8-a" \
64
+ RUSTFLAGS="-Zlocation-detail=none -Zfmt-debug=none" \
63
65
MESON="--cross-file=/root/meson.ini"
64
66
65
67
COPY Toolchain.cmake /root/
Original file line number Diff line number Diff line change 44
44
ln -s /usr/bin/gcc10-strip /usr/bin/strip && \
45
45
ln -s /usr/bin/gcc10-ranlib /usr/bin/ranlib && \
46
46
ln -s /usr/bin/gcc10-readelf /usr/bin/readelf && \
47
+ ln -sf /usr/bin/gcc10-ld.bfd /usr/bin/gcc10-ld && \
48
+ rm /usr/bin/gcc10-ld.gold && \
47
49
curl https://sh.rustup.rs -sSf | sh -s -- -y \
48
50
--no-modify-path \
49
51
--profile minimal \
52
+ --default-toolchain nightly \
50
53
&& \
51
54
cargo install cargo-c --locked && \
52
55
ln -s /usr/bin/cmake3 /usr/bin/cmake && \
56
59
ENV \
57
60
PKG_CONFIG="pkg-config --static" \
58
61
PLATFORM="linux-x64" \
59
- FLAGS="-march=nehalem -fuse-ld=bfd " \
60
- RUSTFLAGS="-Clink-arg=-fuse-ld=bfd " \
62
+ FLAGS="-march=nehalem" \
63
+ RUSTFLAGS="-Zlocation-detail=none -Zfmt-debug=none " \
61
64
MESON="--cross-file=/root/meson.ini"
62
65
63
66
COPY Toolchain.cmake /root/
You can’t perform that action at this time.
0 commit comments