mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-03-08 02:24:33 +01:00
std.Build.Step.TranslateC: forward --cache-dir and --global-cache-dir flags
This commit is contained in:
parent
ade570f0d5
commit
99b2b61516
1 changed files with 6 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue