Let hipcc link -lpthread -lm by default

[ROCm/clr commit: 7d1492ab61]
This commit is contained in:
Yaxun Sam Liu
2018-08-17 11:34:07 -04:00
والد 3f4348a81c
کامیت fcc445b7fe
@@ -725,7 +725,7 @@ if ($needLDFLAGS and not $compileOnly) {
}
$CMD .= " $toolArgs";
if ($needLDFLAGS and not $compileOnly and $HIP_PLATFORM eq "clang") {
$CMD .= " -lgcc_s -lgcc";
$CMD .= " -lgcc_s -lgcc -lpthread -lm";
}
if ($verbose & 0x1) {