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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user