This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Improve detection of Intel C/C++ compilers. (#18001)
[perl5.git] / hints / linux.sh
index 8cbe7dc..c749f0f 100644 (file)
@@ -85,7 +85,7 @@ uname_minus_m="${uname_minus_m:-"$targetarch"}"
 
 # Check if we're about to use Intel's ICC compiler
 case "`${cc:-cc} -V 2>&1`" in
-*"Intel(R) C++ Compiler"*|*"Intel(R) C Compiler"*)
+*"Intel(R) C"*" Compiler"*)
     # record the version, formats:
     # icc (ICC) 10.1 20080801
     # icpc (ICC) 10.1 20080801