Let hipcc link -lpthread -lm by default

Este commit está contenido en:
Yaxun Sam Liu
2018-08-17 11:34:07 -04:00
padre 52b8879f12
commit 4f17b4877e
+1 -1
Ver fichero
@@ -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) {