From e748fd2ae02071e89678b31266b9b7c955f3fb41 Mon Sep 17 00:00:00 2001 From: Yaxun Sam Liu Date: Thu, 28 Feb 2019 11:20:04 -0500 Subject: [PATCH] Revert "Change code-object flag to only HIP-Clang" This reverts commit 17a853c277c0c29a9bf41afad0f27e1b59ecdfd8. [ROCm/hip commit: 1bd8d24278033a3ad8f1bf189c7ffca280c85598] --- projects/hip/bin/hipcc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/hip/bin/hipcc b/projects/hip/bin/hipcc index b649bb6e7f..d6eea8457b 100755 --- a/projects/hip/bin/hipcc +++ b/projects/hip/bin/hipcc @@ -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"; }