Support wrappers named <triplet>-c++ in clang-target-wrapper.sh as well

We currently don't install any such wrapper, but one might want to.
This commit is contained in:
Martin Storsjö committed 2018-10-02 23:38:19 +03:00
1 parent fb5c95589c
commit 9f3a4a25f2
1 file changed
+1 -1
+1 -1
View File
@@ -12,7 +12,7 @@ fi
CLANG="$DIR/clang" CLANG="$DIR/clang"
FLAGS="" FLAGS=""
case $EXE in case $EXE in
clang++|g++) clang++|g++|c++)
FLAGS="$FLAGS --driver-mode=g++" FLAGS="$FLAGS --driver-mode=g++"
;; ;;
esac esac