Let hipcc link -lpthread -lm by default
This commit is contained in:
1 parent
0a02ae19dc
commit
7d1492ab61
1 file changed
+1
-1
+1
-1
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user