summaryrefslogtreecommitdiff
path: root/data/llvm-clang/_metadata/postinst
diff options
context:
space:
mode:
Diffstat (limited to 'data/llvm-clang/_metadata/postinst')
-rwxr-xr-xdata/llvm-clang/_metadata/postinst2
1 files changed, 2 insertions, 0 deletions
diff --git a/data/llvm-clang/_metadata/postinst b/data/llvm-clang/_metadata/postinst
index bebc210cd..c2ae4f7a9 100755
--- a/data/llvm-clang/_metadata/postinst
+++ b/data/llvm-clang/_metadata/postinst
@@ -6,8 +6,10 @@ case "$1" in
for prog in ${LLVMPROGS}; do
update-alternatives --quiet --install /usr/bin/${prog} ${prog} /usr/bin/llvm-${prog} 50
done
+ update-alternatives --quiet --install /usr/bin/cc cc /usr/bin/clang 50
update-alternatives --quiet --install /usr/bin/gcc gcc /usr/bin/clang 50
update-alternatives --quiet --install /usr/bin/cpp cpp /usr/bin/clang-cpp 50
+ update-alternatives --quiet --install /usr/bin/c++ c++ /usr/bin/clang++ 50
update-alternatives --quiet --install /usr/bin/g++ g++ /usr/bin/clang++ 50
;;