Merge "Fix hipcc for -E" into amd-master-next

This commit is contained in:
Yaxun Liu
2020-05-05 18:00:49 -04:00
committed by Gerrit Code Review
+1 -1
View File
@@ -422,7 +422,7 @@ foreach $arg (@ARGV)
$trimarg = $arg;
$trimarg =~ s/^\s+|\s+$//g; # Remive whitespace
my $swallowArg = 0;
if ($arg eq '-c' or $arg eq '--genco') {
if ($arg eq '-c' or $arg eq '--genco' or $arg eq '-E') {
$compileOnly = 1;
$needLDFLAGS = 0;
}