File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 4040 ln -s /usr/bin/gcc10-as /usr/bin/as && \
4141 ln -s /usr/bin/gcc10-ar /usr/bin/ar && \
4242 ln -s /usr/bin/gcc10-nm /usr/bin/nm && \
43- ln -s /usr/bin/gcc10-ld /usr/bin/ld && \
43+ ln -s /usr/bin/gcc10-ld.bfd /usr/bin/ld && \
4444 ln -s /usr/bin/gcc10-strip /usr/bin/strip && \
4545 ln -s /usr/bin/gcc10-ranlib /usr/bin/ranlib && \
4646 ln -s /usr/bin/gcc10-readelf /usr/bin/readelf && \
5858ENV \
5959 PKG_CONFIG="pkg-config --static" \
6060 PLATFORM="linux-arm64v8" \
61- FLAGS="-march=armv8-a" \
62- RUSTFLAGS="-Zlocation-detail=none -Zfmt-debug=none" \
61+ FLAGS="-march=armv8-a -fuse-ld=bfd " \
62+ RUSTFLAGS="-Clink-arg=-fuse-ld=bfd - Zlocation-detail=none -Zfmt-debug=none" \
6363 MESON="--cross-file=/root/meson.ini"
6464
6565COPY Toolchain.cmake /root/
Original file line number Diff line number Diff line change 4040 ln -s /usr/bin/gcc10-g++ /usr/bin/c++ && \
4141 ln -s /usr/bin/gcc10-ar /usr/bin/ar && \
4242 ln -s /usr/bin/gcc10-nm /usr/bin/nm && \
43- ln -s /usr/bin/gcc10-ld /usr/bin/ld && \
43+ ln -s /usr/bin/gcc10-ld.bfd /usr/bin/ld && \
4444 ln -s /usr/bin/gcc10-strip /usr/bin/strip && \
4545 ln -s /usr/bin/gcc10-ranlib /usr/bin/ranlib && \
4646 ln -s /usr/bin/gcc10-readelf /usr/bin/readelf && \
5656ENV \
5757 PKG_CONFIG="pkg-config --static" \
5858 PLATFORM="linux-x64" \
59- FLAGS="-march=nehalem" \
59+ FLAGS="-march=nehalem -fuse-ld=bfd" \
60+ RUSTFLAGS="-Clink-arg=-fuse-ld=bfd" \
6061 MESON="--cross-file=/root/meson.ini"
6162
6263COPY Toolchain.cmake /root/
You can’t perform that action at this time.
0 commit comments