Revert "Change code-object flag to only HIP-Clang"

This reverts commit 1e483af21b.


[ROCm/clr commit: 9002c7d09d]
This commit is contained in:
Yaxun Sam Liu
2019-02-28 11:20:04 -05:00
parent 768d00f5e7
commit 89721c8ce8
+1 -1
View File
@@ -763,7 +763,7 @@ if ($buildDeps and $HIP_PLATFORM eq 'clang') {
if ($useCodeObjectV3 and $HIP_PLATFORM eq 'clang') {
$HIPCXXFLAGS .= " -mcode-object-v3";
} elsif ($HIP_PLATFORM eq 'clang') {
} else {
$HIPCXXFLAGS .= " -mno-code-object-v3";
}