| ... | @@ -366,6 +366,12 @@ pub fn libcFullLinkFlags(target: std.Target) []const []const u8 { | ... | @@ -366,6 +366,12 @@ pub fn libcFullLinkFlags(target: std.Target) []const []const u8 { |
| 366 | "-lc", | 366 | "-lc", |
| 367 | "-lutil", | 367 | "-lutil", |
| 368 | }, | 368 | }, |
| | 369 | .haiku => &[_][]const u8{ |
| | 370 | "-lm", |
| | 371 | "-lroot", |
| | 372 | "-lpthread", |
| | 373 | "-lc", |
| | 374 | }, |
| 369 | else => switch (target.abi) { | 375 | else => switch (target.abi) { |
| 370 | .android => &[_][]const u8{ | 376 | .android => &[_][]const u8{ |
| 371 | "-lm", | 377 | "-lm", |