File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -6,17 +6,17 @@ RUN apt-get update && \
66 if [ "$TARGETARCH" = "$BUILDARCH" ]; then \
77 rustup target list --installed > TARGET && \
88 echo gcc > LINKER && \
9- apt-get install -y gcc libgcc-s1 && \
9+ apt-get install -y gcc libgcc-s1 cmake && \
1010 cp /lib/*/libgcc_s.so.1 .; \
1111 elif [ "$TARGETARCH" = "arm64" ]; then \
1212 echo aarch64-unknown-linux-gnu > TARGET && \
1313 echo aarch64-linux-gnu-gcc > LINKER && \
14- apt-get install -y gcc-aarch64-linux-gnu libgcc-s1-arm64-cross && \
14+ apt-get install -y gcc-aarch64-linux-gnu libgcc-s1-arm64-cross cmake && \
1515 cp /usr/aarch64-linux-gnu/lib/libgcc_s.so.1 .; \
1616 elif [ "$TARGETARCH" = "arm" ]; then \
1717 echo armv7-unknown-linux-gnueabihf > TARGET && \
1818 echo arm-linux-gnueabihf-gcc > LINKER && \
19- apt-get install -y gcc-arm-linux-gnueabihf libgcc-s1-armhf-cross && \
19+ apt-get install -y gcc-arm-linux-gnueabihf libgcc-s1-armhf-cross cmake && \
2020 cp /usr/arm-linux-gnueabihf/lib/libgcc_s.so.1 .; \
2121 else \
2222 echo "Unsupported cross compilation target: $TARGETARCH" ; \
You can’t perform that action at this time.
0 commit comments