Treat .cxx files like .cpp files

Cette révision appartient à :
David Rohr a révisé 2019-08-07 19:11:35 +02:00
1 Parent 971a64c6b9
révision a22119d381
1 fichier modifié
+1 -1
+1 -1
Voir le fichier
@@ -624,7 +624,7 @@ foreach $arg (@ARGV)
#print "O: <$arg>\n";
} else {
# input files and libraries
if (($arg =~ /\.cpp$/) or ($arg =~ /\.c$/) or ($arg =~ /\.cc$/) ) {
if (($arg =~ /\.cpp$/) or ($arg =~ /\.cxx$/) or ($arg =~ /\.c$/) or ($arg =~ /\.cc$/) ) {
$hasC = 1;
$needCXXFLAGS = 1;
if ($HIP_PLATFORM eq 'clang') {