| Summary: | dev-cpp/tbb-4.2.20140122: fails with CXX=${CHOST}-g++-4.8.2 | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Michał Górny <mgorny> |
| Component: | Current packages | Assignee: | Gentoo Science Related Packages <sci> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | jlec |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
+ 08 Jun 2014; Justin Lecher <jlec@gentoo.org> tbb-4.1.20121003-r1.ebuild, + tbb-4.2.20131118.ebuild, tbb-4.2.20140122.ebuild, metadata.xml: + Add compatibility with versioned gcc, #512672 + |
if [[ $(tc-getCXX) == *g++ ]]; then comp="gcc" elif [[ $(tc-getCXX) == *ic*c ]]; then comp="icc" else die "compiler $(tc-getCXX) not supported by build system" fi This check fails if ${CXX} contains versioned compiler executable. Adding extra '*' at the end helps.