diff options
author | Muhammad Omair Javaid <omair.javaid@linaro.org> | 2021-08-06 05:37:08 +0500 |
---|---|---|
committer | Muhammad Omair Javaid <omair.javaid@linaro.org> | 2021-08-06 05:37:08 +0500 |
commit | 52d94a6caa12ca4a50e9f9b4f10c1fccbe9ac998 (patch) | |
tree | 64b87014fd5e5b6fb333e3b66b9145b35c88fbce | |
parent | caf9d59288425cfd5af40d820ce119e5e645c276 (diff) |
tcwg-llvm-common.sh: Fix ldconfig permission issue
Change-Id: I0f6dcce8c72220e56209029741ae81a7e0d76069
-rwxr-xr-x | tcwg-llvm-common.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tcwg-llvm-common.sh b/tcwg-llvm-common.sh index 36ff5da6..d8285013 100755 --- a/tcwg-llvm-common.sh +++ b/tcwg-llvm-common.sh @@ -107,7 +107,7 @@ set_llvm_release_compiler () { # Starting with clang-11 we need clang's libs in ld.so's search path; # otherwise we get failure to find libc++.so. - sudo echo "$release_path/lib" > /etc/ld.so.conf.d/clang.conf + echo "$release_path/lib" | sudo tee /etc/ld.so.conf.d/clang12.conf > /dev/null sudo ldconfig elif [ "$VAL" = "gcc" ]; then export CC="gcc" |