diff options
| author | Al Hoang <3811822-hoanga@users.noreply.gitlab.com> | 2021-05-22 01:05:18 -0500 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2021-05-24 10:39:01 -0700 |
| commit | c4a4330cc7a783ad188daedd05159b725128f69c (patch) | |
| tree | 076a343390430fcfc78217dd97c37f3056f839d0 /src/target.zig | |
| parent | 2be2c983cb17bd24e0f876f9e363f8342765273c (diff) | |
| download | zig-c4a4330cc7a783ad188daedd05159b725128f69c.tar.gz zig-c4a4330cc7a783ad188daedd05159b725128f69c.zip | |
haiku case for libc link flags
Diffstat (limited to 'src/target.zig')
| -rw-r--r-- | src/target.zig | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/target.zig b/src/target.zig index b4e6123819..59be06f296 100644 --- a/src/target.zig +++ b/src/target.zig @@ -366,6 +366,12 @@ pub fn libcFullLinkFlags(target: std.Target) []const []const u8 { "-lc", "-lutil", }, + .haiku => &[_][]const u8{ + "-lm", + "-lroot", + "-lpthread", + "-lc", + }, else => switch (target.abi) { .android => &[_][]const u8{ "-lm", |
