File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ ARG DEFAULT_CRT=ucrt
3232ARG CFGUARD_ARGS=--enable-cfguard
3333
3434COPY build-all.sh build-llvm.sh install-wrappers.sh build-mingw-w64.sh build-mingw-w64-tools.sh build-compiler-rt.sh build-libcxx.sh build-mingw-w64-libraries.sh build-openmp.sh ./
35- COPY wrappers/*.sh wrappers/*.c wrappers/*.h ./wrappers/
35+ COPY wrappers/*.sh wrappers/*.c wrappers/*.h wrappers/*.cfg ./wrappers/
3636# Libcxx version 17 requires Clang >= 15, while Libcxx 18 requires Clang >= 16.
3737RUN LLVM_VERSION=llvmorg-17.0.6 ./build-all.sh $TOOLCHAIN_PREFIX --host-clang=clang-15 && \
3838 rm -rf /build/*
Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ if [ -n "${HOST_CLANG}" ]; then
8484
8585 # Note: clang will detect the "InstalledDir" based on the path that was used to invoke the tools
8686 # This might still have some hidden effects
87- printf ' #!/bin/sh\nsr=$(dirname "$(dirname "$(readlink -f "$0")")")\nexec %s -resource-dir="$sr"%s --sysroot="$sr" "$@"\n' " $HOST_CLANG_EXE " " $clangres " > $PREFIX /bin/clang
87+ printf ' #!/bin/sh\nsr=$(dirname "$(dirname "$(readlink -f "$0")")")\nexec %s -resource-dir="$sr"%s --sysroot="$sr" --config-system-dir="$sr"/bin "$@"\n' " $HOST_CLANG_EXE " " $clangres " > $PREFIX /bin/clang
8888 # printf '#!/bin/sh\nsr=$(dirname "$(dirname "$(readlink -f "$0")")")\nexec %s -resource-dir="$sr"%s --sysroot="$sr" "$@"\n' "$(readlink -f "$HOST_CLANG_EXE")" "$clangres" > $PREFIX/bin/clang
8989 chmod 755 $PREFIX /bin/clang
9090 ln -sf clang $PREFIX /bin/clang++
You can’t perform that action at this time.
0 commit comments