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 40
40
ln -s /usr/bin/gcc10-as /usr/bin/as && \
41
41
ln -s /usr/bin/gcc10-ar /usr/bin/ar && \
42
42
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 && \
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 && \
58
58
ENV \
59
59
PKG_CONFIG="pkg-config --static" \
60
60
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" \
63
63
MESON="--cross-file=/root/meson.ini"
64
64
65
65
COPY Toolchain.cmake /root/
Original file line number Diff line number Diff line change 40
40
ln -s /usr/bin/gcc10-g++ /usr/bin/c++ && \
41
41
ln -s /usr/bin/gcc10-ar /usr/bin/ar && \
42
42
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 && \
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 && \
56
56
ENV \
57
57
PKG_CONFIG="pkg-config --static" \
58
58
PLATFORM="linux-x64" \
59
- FLAGS="-march=nehalem" \
59
+ FLAGS="-march=nehalem -fuse-ld=bfd" \
60
+ RUSTFLAGS="-Clink-arg=-fuse-ld=bfd" \
60
61
MESON="--cross-file=/root/meson.ini"
61
62
62
63
COPY Toolchain.cmake /root/
You can’t perform that action at this time.
0 commit comments