Provide the clang wrapper as a symlink to the script instead of duplicating the script
This commit is contained in:
1 parent
a52d13b639
commit
2a0172efd4
1 file changed
+4
-3
+4
-3
@@ -63,10 +63,11 @@ RUN cd mingw-w64/mingw-w64-headers && \
|
|||||||
done
|
done
|
||||||
|
|
||||||
# Install the usual $TUPLE-clang binaries
|
# Install the usual $TUPLE-clang binaries
|
||||||
COPY wrappers/clang-target-wrapper /build/wrappers/
|
COPY wrappers/clang-target-wrapper /build/prefix/bin
|
||||||
RUN for arch in $TOOLCHAIN_ARCHS; do \
|
RUN cd $TOOLCHAIN_PREFIX/bin && \
|
||||||
|
for arch in $TOOLCHAIN_ARCHS; do \
|
||||||
for exec in clang clang++; do \
|
for exec in clang clang++; do \
|
||||||
cp wrappers/clang-target-wrapper $TOOLCHAIN_PREFIX/bin/${arch}-w64-mingw32-${exec}; \
|
ln -s clang-target-wrapper $arch-w64-mingw32-$exec; \
|
||||||
done; \
|
done; \
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user