aboutsummaryrefslogtreecommitdiff
path: root/std
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2019-03-18 13:47:59 -0400
committerAndrew Kelley <andrew@ziglang.org>2019-03-18 13:47:59 -0400
commit7dfbeca13eca48a506bbeba6ce7a18b2a8d25ce1 (patch)
treebfe391827fec58195e61a682b5a1da4e7111a67f /std
parent6acabd6b577ac63274b31bd1b2ae22cc75ab2c7a (diff)
downloadzig-7dfbeca13eca48a506bbeba6ce7a18b2a8d25ce1.tar.gz
zig-7dfbeca13eca48a506bbeba6ce7a18b2a8d25ce1.zip
libc: separate linux headers from musl/glibc
Diffstat (limited to 'std')
-rw-r--r--std/special/build_runner.zig3
1 files changed, 3 insertions, 0 deletions
diff --git a/std/special/build_runner.zig b/std/special/build_runner.zig
index ff3b53619d..4ce6f7115e 100644
--- a/std/special/build_runner.zig
+++ b/std/special/build_runner.zig
@@ -106,6 +106,8 @@ pub fn main() !void {
builder.verbose_llvm_ir = true;
} else if (mem.eql(u8, arg, "--verbose-cimport")) {
builder.verbose_cimport = true;
+ } else if (mem.eql(u8, arg, "--verbose-cc")) {
+ builder.verbose_cc = true;
} else {
warn("Unrecognized argument: {}\n\n", arg);
return usageAndErr(&builder, false, try stderr_stream);
@@ -193,6 +195,7 @@ fn usage(builder: *Builder, already_ran_build: bool, out_stream: var) !void {
\\ --verbose-ir Enable compiler debug output for Zig IR
\\ --verbose-llvm-ir Enable compiler debug output for LLVM IR
\\ --verbose-cimport Enable compiler debug output for C imports
+ \\ --verbose-cc Enable compiler debug output for C compilation
\\
);
}