File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ FROM datafuselabs/build-tool:base-${RUST_TOOLCHAIN}
44ENV PKG_CONFIG_ALLOW_CROSS 1
55RUN dpkg --add-architecture arm64 && \
66 apt-get update -yq && \
7- apt-get install -yq libc6-arm64-cross libc6-dev-arm64-cross gcc-aarch64-linux-gnu && \
7+ apt-get install -yq libc6-arm64-cross libc6-dev-arm64-cross gcc-aarch64-linux-gnu g++-aarch64-linux-gnu && \
88 apt-get install -yq libdbus-1-dev libdbus-1-dev:arm64 && \
99 apt-get install -yq libssl-dev libssl-dev:arm64 zlib1g-dev zlib1g-dev:arm64
1010
Original file line number Diff line number Diff line change @@ -25,5 +25,6 @@ RUN curl -sSfLo /tmp/musl-cross-make.tar.gz https://github.com/richfelker/musl-c
2525ENV je_cv_pthread_getname_np no
2626ENV C_INCLUDE_PATH /usr/local/${ARCH}-linux-musl/include/
2727RUN ln -s ${ARCH}-linux-musl-gcc /usr/local/bin/musl-gcc
28+ RUN ln -s ${ARCH}-linux-musl-g++ /usr/local/bin/musl-g++
2829RUN rustup target add ${ARCH}-unknown-linux-musl
29- RUN printf "[target.${ARCH}-unknown-linux-musl]\n linker = \" ${ARCH}-linux-musl-gcc\"\n " > ${CARGO_HOME}/config
30+ RUN printf "[target.${ARCH}-unknown-linux-musl]\n linker = \" ${ARCH}-linux-musl-gcc\"\n " >${CARGO_HOME}/config
You can’t perform that action at this time.
0 commit comments