Change code-object flag to only HIP-Clang

This commit is contained in:
Aaron Enye Shi
2019-02-11 17:18:12 +00:00
vanhempi 8062305f0b
commit 2a956540ee
+1 -1
Näytä tiedosto
@@ -743,7 +743,7 @@ if ($buildDeps and $HIP_PLATFORM eq 'clang') {
if ($useCodeObjectV3 and $HIP_PLATFORM eq 'clang') {
$HIPCXXFLAGS .= " -mcode-object-v3";
} else {
} elsif ($HIP_PLATFORM eq 'clang') {
$HIPCXXFLAGS .= " -mno-code-object-v3";
}