mirror of
https://github.com/ziglang/zig.git
synced 2026-02-13 04:48:20 +00:00
std.Build.Step.TranslateC: forward --cache-dir and --global-cache-dir flags
This commit is contained in:
parent
ade570f0d5
commit
99b2b61516
@ -163,6 +163,12 @@ fn make(step: *Step, options: Step.MakeOptions) !void {
|
||||
try argv_list.append("-fno-clang");
|
||||
}
|
||||
|
||||
try argv_list.append("--cache-dir");
|
||||
try argv_list.append(b.cache_root.path orelse ".");
|
||||
|
||||
try argv_list.append("--global-cache-dir");
|
||||
try argv_list.append(b.graph.global_cache_root.path orelse ".");
|
||||
|
||||
try argv_list.append("--listen=-");
|
||||
|
||||
if (!translate_c.target.query.isNative()) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user