commit:     a1ddeefb53647830f2c1b781c51487eecd290d4a
Author:     Peter Levine <plevine457 <AT> gmail <DOT> com>
AuthorDate: Thu Oct  3 01:43:17 2019 +0000
Commit:     Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Thu Oct  3 09:31:43 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1ddeefb

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 <AT> gmail.com>
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>

 dev-cpp/tbb/tbb-2019.8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/tbb/tbb-2019.8.ebuild b/dev-cpp/tbb/tbb-2019.8.ebuild
index fd77782aba4..b0174501177 100644
--- a/dev-cpp/tbb/tbb-2019.8.ebuild
+++ b/dev-cpp/tbb/tbb-2019.8.ebuild
@@ -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
 

Reply via email to