From 90ae94b3348a22b3b006d3959f2dde946d89f169 Mon Sep 17 00:00:00 2001 From: agodavar Date: Tue, 5 May 2020 06:12:58 -0400 Subject: [PATCH] SWDEV-234447:Fix error Use of uninitialized value in concatenation (.) Change-Id: Ia6f8d23f100826438f152c175d10ac3096ee024e [ROCm/hip commit: a9bc94129b599351c09687152e6107d2c1a2cf3a] --- 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 b346be60e2..21275289f4 100755 --- a/projects/hip/bin/hipcc +++ b/projects/hip/bin/hipcc @@ -460,7 +460,7 @@ foreach $arg (@ARGV) $arg = "--cuda-device-only"; } - if(($trimarg eq '-stdlib=libstdc++') and ($setStdLib eq 0)) + if(($trimarg eq '-stdlib=libstdc++') and ($setStdLib eq 0) and $HIP_PLATFORM eq 'hcc' and $HIP_COMPILER eq 'hcc') { $HIPCXXFLAGS .= $HCC_WA_FLAGS; $setStdLib = 1;