Merge pull request #1302 from davidrohr/master

Treat .cxx files like .cpp files

[ROCm/hip commit: 01c17071cd]
This commit is contained in:
Maneesh Gupta
2019-08-08 08:28:01 +00:00
zatwierdzone przez GitHub
+1 -1
Wyświetl plik
@@ -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') {