Skip to content

Commit

Permalink
Tweak Dockerfile.toolchain
Browse files Browse the repository at this point in the history
  • Loading branch information
mstorsjo committed Feb 8, 2024
1 parent ee2d977 commit 4eaf9d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile.toolchain
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ ARG TOOLCHAIN_ARCHS="i686 x86_64 armv7 aarch64"

# Copy prebuild toolchains for the current architecture
RUN --mount=type=bind,source=toolchain,target=/toolchain \
mkdir -p $TOOLCHAIN_PREFIX && ARCH=`uname -m` && \
tar xf /toolchain/llvm-mingw-*-$ARCH.tar.xz --strip-components 1 -C $TOOLCHAIN_PREFIX
mkdir -p $TOOLCHAIN_PREFIX && ARCH=$(uname -m) && \
tar xf /toolchain/linux-ucrt-$ARCH-toolchain/llvm-mingw-*-$ARCH.tar.xz --strip-components 1 -C $TOOLCHAIN_PREFIX

ENV PATH=$TOOLCHAIN_PREFIX/bin:$PATH

0 comments on commit 4eaf9d2

Please sign in to comment.