1 |
commit: a1ddeefb53647830f2c1b781c51487eecd290d4a |
2 |
Author: Peter Levine <plevine457 <AT> gmail <DOT> com> |
3 |
AuthorDate: Thu Oct 3 01:43:17 2019 +0000 |
4 |
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Oct 3 09:31:43 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1ddeefb |
7 |
|
8 |
dev-cpp/tbb: Fix building with clang |
9 |
|
10 |
Prevent "clang++" from being inadvertently matched to "*g++*" in a case |
11 |
statement. |
12 |
|
13 |
Closes: https://bugs.gentoo.org/662990 |
14 |
Closes: https://github.com/gentoo/gentoo/pull/13129 |
15 |
Package-Manager: Portage-2.3.76, Repoman-2.3.17 |
16 |
Signed-off-by: Peter Levine <plevine457 <AT> gmail.com> |
17 |
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org> |
18 |
|
19 |
dev-cpp/tbb/tbb-2019.8.ebuild | 2 +- |
20 |
1 file changed, 1 insertion(+), 1 deletion(-) |
21 |
|
22 |
diff --git a/dev-cpp/tbb/tbb-2019.8.ebuild b/dev-cpp/tbb/tbb-2019.8.ebuild |
23 |
index fd77782aba4..b0174501177 100644 |
24 |
--- a/dev-cpp/tbb/tbb-2019.8.ebuild |
25 |
+++ b/dev-cpp/tbb/tbb-2019.8.ebuild |
26 |
@@ -80,9 +80,9 @@ local_src_compile() { |
27 |
esac |
28 |
|
29 |
case "$(tc-getCXX)" in |
30 |
+ *clang*) comp="clang" ;; |
31 |
*g++*) comp="gcc" ;; |
32 |
*ic*c) comp="icc" ;; |
33 |
- *clang*) comp="clang" ;; |
34 |
*) die "compiler $(tc-getCXX) not supported by build system" ;; |
35 |
esac |