install-wrappers: Pass --config-system-dir in the --host-clang mode
This is required since e2e9216853
for this configuration to be able to find the config files.
Also add the *.cfg files to the Dockerfile COPY line.
This commit is contained in:
1 parent
83b64f3049
commit
1f99e3e26e
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -84,7 +84,7 @@ if [ -n "${HOST_CLANG}" ]; then
|
||||
|
||||
# Note: clang will detect the "InstalledDir" based on the path that was used to invoke the tools
|
||||
# This might still have some hidden effects
|
||||
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
|
||||
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
|
||||
# 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
|
||||
chmod 755 $PREFIX/bin/clang
|
||||
ln -sf clang $PREFIX/bin/clang++
|
||||
|
||||
Reference in new issue
Block a user