| ... | ... | @@ -387,13 +387,20 @@ pub fn libcFullLinkFlags(target: std.Target) []const []const u8 { |
| 387 | 387 | "-lc", |
| 388 | 388 | "-lutil", |
| 389 | 389 | }, |
| 390 | | else => &[_][]const u8{ |
| 391 | | "-lm", |
| 392 | | "-lpthread", |
| 393 | | "-lc", |
| 394 | | "-ldl", |
| 395 | | "-lrt", |
| 396 | | "-lutil", |
| 390 | else => switch (target.abi) { |
| 391 | .android => &[_][]const u8{ |
| 392 | "-lm", |
| 393 | "-lc", |
| 394 | "-ldl", |
| 395 | }, |
| 396 | else => &[_][]const u8{ |
| 397 | "-lm", |
| 398 | "-lpthread", |
| 399 | "-lc", |
| 400 | "-ldl", |
| 401 | "-lrt", |
| 402 | "-lutil", |
| 403 | }, |
| 397 | 404 | }, |
| 398 | 405 | }; |
| 399 | 406 | } |