Fix runtime failure on windows

Signed-off-by: Icarus Sparry <icarus.sparry@amd.com>
Change-Id: I6c991a943e04ef29eff2905becbed0038c3b8ab9
Signed-off-by: Icarus Sparry <icarus.sparry@amd.com>


[ROCm/hip commit: 64f8ff5e70]
이 커밋은 다음에 포함됨:
Icarus Sparry가 2020-05-11 17:30:47 -04:00를 커밋했습니다
1 부모 1bf3ae1c4a
커밋 f47f8ad6f6
1 파일이 변경됨
+3 -1
+3 -1
파일 보기
@@ -678,7 +678,9 @@ foreach $arg (@ARGV)
# common characters such as alphanumerics.
# Do the quoting here because sometimes the $arg is changed in the loop
# Important to have all of '-Xlinker' in the set of unquoted characters.
$arg =~ s/[^-a-zA-Z0-9=+,.]/\\$&/g;
if (not $isWindows) { # Windows needs different quoting, ignore for now
$arg =~ s/[^-a-zA-Z0-9_=+,.\/]/\\$&/g;
}
$toolArgs .= " $arg" unless $swallowArg;
$prevArg = $arg;
}