Merge pull request #637 from ROCm-Developer-Tools/add-pthread

Let hipcc link -lpthread -lm by default

[ROCm/clr commit: c6d0de2c21]
This commit is contained in:
Maneesh Gupta
2018-09-14 13:21:47 +05:30
committed by GitHub
melakukan 5d98d0fcdd
+1 -1
Melihat File
@@ -734,7 +734,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) {