Let hipcc link -lpthread -lm by default

[ROCm/hip commit: 4f17b4877e]
This commit is contained in:
Yaxun Sam Liu committed 2018-09-04 17:11:47 -04:00
1 parent 489b696bae
commit 6f86ceae62
1 file changed
+1 -1
+1 -1
View File
@@ -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) {