Let hipcc link -lpthread -lm by default

[ROCm/clr commit: 7d1492ab61]
此提交包含在:
Yaxun Sam Liu
2018-08-17 11:34:07 -04:00
父節點 3f4348a81c
當前提交 fcc445b7fe
+1 -1
查看文件
@@ -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) {