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

Change-Id: Ia6f8d23f100826438f152c175d10ac3096ee024e
Esse commit está contido em:
agodavar
2020-05-05 06:12:58 -04:00
commit de Anusha Godavarthy Surya
commit e069cf6511
+1 -1
Ver Arquivo
@@ -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;