SWDEV-234447:Fix error Use of uninitialized value in concatenation (.)

Change-Id: Ia6f8d23f100826438f152c175d10ac3096ee024e


[ROCm/hip commit: a9bc94129b]
This commit is contained in:
agodavar
2020-05-05 06:12:58 -04:00
zatwierdzone przez Anusha Godavarthy Surya
rodzic 243e16b522
commit 90ae94b334
+1 -1
Wyświetl plik
@@ -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;