dev-cpp/tbb: Fix building with clang

Prevent "clang++" from being inadvertently matched to "*g++*" in a case
statement.

Closes: https://bugs.gentoo.org/662990
Closes: https://github.com/gentoo/gentoo/pull/13129
Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Peter Levine <plevine457@gmail.com>
Signed-off-by: Guilherme Amadio <amadio@gentoo.org>
This commit is contained in:
Peter Levine
2019-10-03 11:31:43 +02:00
committed by Guilherme Amadio
parent ad19e8bd49
commit a1ddeefb53
+1 -1
View File
@@ -80,9 +80,9 @@ local_src_compile() {
esac
case "$(tc-getCXX)" in
*clang*) comp="clang" ;;
*g++*) comp="gcc" ;;
*ic*c) comp="icc" ;;
*clang*) comp="clang" ;;
*) die "compiler $(tc-getCXX) not supported by build system" ;;
esac