Treat .cxx files like .cpp files

[ROCm/hip commit: a90310162d]
This commit is contained in:
David Rohr
2019-08-07 19:11:12 +02:00
orang tua fe9cfbdd3c
melakukan a2e61f597e
+1 -1
Melihat File
@@ -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') {