mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-06 17:47:07 -08:00
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user