Revert "Consume the code obj args to prevent duplicates"

This reverts commit 0e1fc751ea.


[ROCm/clr commit: 510590ac1d]
This commit is contained in:
Yaxun Sam Liu
2019-02-28 11:19:35 -05:00
والد b2a859754d
کامیت 768d00f5e7
@@ -424,14 +424,8 @@ foreach $arg (@ARGV)
$swallowArg = 1;
}
if (($trimarg eq '-mno-code-object-v3') and ($HIP_PLATFORM eq 'clang') ) {
$useCodeObjectV3 = 0;
$swallowArg = 1;
}
if (($trimarg eq '-mcode-object-v3') and ($HIP_PLATFORM eq 'clang') ) {
$useCodeObjectV3 = 1;
$swallowArg = 1;
}
if (($arg =~ /--genco/) and $HIP_PLATFORM eq 'clang' ) {