Treat .cxx files like .cpp files

此提交包含在:
David Rohr committed 2019-08-07 19:11:35 +02:00
1 父節點 971a64c6b9
當前提交 a22119d381
1 file changed
+1 -1
+1 -1
查看文件
@@ -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') {