Let hipcc link -lpthread -lm by default

[ROCm/hip commit: 4f17b4877e]
Tá an tiomantas seo le fáil i:
Yaxun Sam Liu tiomanta 2018-09-04 17:11:47 -04:00
1 tuismitheoir 489b696bae
tiomantas 6f86ceae62
1 comhad athraithe
+1 -1
+1 -1
Féach ar an gComhad
@@ -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) {