@@ -43,6 +43,10 @@ ENV STAGING_DIR=/tmp
43
43
44
44
COPY scripts/musl.sh /build
45
45
RUN env \
46
+ CC=arm-linux-gnueabi-gcc CFLAGS="-march=armv5te -marm -mfloat-abi=soft" \
47
+ CXX=arm-linux-gnueabi-g++ CXXFLAGS="-march=armv5te -marm -mfloat-abi=soft" \
48
+ bash musl.sh armv5te && \
49
+ env \
46
50
CC=arm-linux-gnueabi-gcc CFLAGS="-march=armv6 -marm" \
47
51
CXX=arm-linux-gnueabi-g++ CXXFLAGS="-march=armv6 -marm" \
48
52
bash musl.sh arm && \
@@ -84,6 +88,7 @@ ENV TARGETS=$TARGETS,mipsel-unknown-linux-musl
84
88
ENV TARGETS=$TARGETS,arm-unknown-linux-musleabi
85
89
ENV TARGETS=$TARGETS,arm-unknown-linux-musleabihf
86
90
ENV TARGETS=$TARGETS,armv5te-unknown-linux-gnueabi
91
+ ENV TARGETS=$TARGETS,armv5te-unknown-linux-musleabi
87
92
ENV TARGETS=$TARGETS,armv7-unknown-linux-musleabihf
88
93
ENV TARGETS=$TARGETS,aarch64-unknown-linux-musl
89
94
ENV TARGETS=$TARGETS,sparc64-unknown-linux-gnu
@@ -100,9 +105,12 @@ ENV CC_mipsel_unknown_linux_musl=mipsel-openwrt-linux-gcc \
100
105
CC_sparc64_unknown_linux_gnu=sparc64-linux-gnu-gcc \
101
106
CC_x86_64_unknown_redox=x86_64-unknown-redox-gcc \
102
107
CC_armv5te_unknown_linux_gnueabi=arm-linux-gnueabi-gcc \
103
- CFLAGS_armv5te_unknown_linux_gnueabi="-march=armv5te -marm -mfloat-abi=soft"
108
+ CFLAGS_armv5te_unknown_linux_gnueabi="-march=armv5te -marm -mfloat-abi=soft" \
109
+ CC_armv5te_unknown_linux_musleabi=arm-linux-gnueabi-gcc \
110
+ CFLAGS_armv5te_unknown_linux_musleabi="-march=armv5te -marm -mfloat-abi=soft"
104
111
105
112
ENV RUST_CONFIGURE_ARGS \
113
+ --musl-root-armv5te=/musl-armv5te \
106
114
--musl-root-arm=/musl-arm \
107
115
--musl-root-armhf=/musl-armhf \
108
116
--musl-root-armv7=/musl-armv7 \
0 commit comments