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>
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