From cd2cf79ccf089f6ae55df88df5199430ba75cbba Mon Sep 17 00:00:00 2001 From: Andreas Mieke Date: Thu, 21 Nov 2024 01:41:39 -0500 Subject: [PATCH] feat(linker): Add cargo linker to dockerfile --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 4224d24..d8fd3d8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,4 +6,5 @@ RUN git clone https://github.com/OnionIoT/source.git COPY openwrt-build-config source/.config ENV FORCE_UNSAFE_CONFIGURE=1 -RUN cd source && make -j12 \ No newline at end of file +ENV CARGO_TARGET_MIPSEL_UNKNOWN_LINUX_MUSL_LINKER=/source/staging_dir/toolchain-mipsel_24kc_gcc-7.3.0_musl/bin/mipsel-openwrt-linux-musl-gcc +RUN cd source && make -j12