haiku case for libc link flags

This commit is contained in:
Al Hoang 2021-05-22 01:05:18 -05:00 committed by Andrew Kelley
parent 2be2c983cb
commit c4a4330cc7

View File

@ -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",