mirror of
https://github.com/ziglang/zig.git
synced 2026-01-12 02:15:12 +00:00
glibc: Set asm and include paths for csky.
This commit is contained in:
parent
4b4fce3e89
commit
1773a88ab1
@ -476,6 +476,8 @@ fn start_asm_path(comp: *Compilation, arena: Allocator, basename: []const u8) ![
|
||||
try result.appendSlice("m68k");
|
||||
} else if (arch == .arc) {
|
||||
try result.appendSlice("arc");
|
||||
} else if (arch == .csky) {
|
||||
try result.appendSlice("csky" ++ s ++ "abiv2");
|
||||
}
|
||||
|
||||
try result.appendSlice(s);
|
||||
@ -695,6 +697,9 @@ fn add_include_dirs_arch(
|
||||
} else if (arch == .arc) {
|
||||
try args.append("-I");
|
||||
try args.append(try path.join(arena, &[_][]const u8{ dir, "arc" }));
|
||||
} else if (arch == .csky) {
|
||||
try args.append("-I");
|
||||
try args.append(try path.join(arena, &[_][]const u8{ dir, "csky" }));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user