mirror of
https://github.com/ziglang/zig.git
synced 2025-12-30 18:13:19 +00:00
cc: remove argument parsing from only-c builds
This commit is contained in:
parent
fad2142ecf
commit
c8541f0a12
@ -1406,6 +1406,8 @@ fn buildOutputType(
|
||||
}
|
||||
},
|
||||
.cc, .cpp => {
|
||||
if (build_options.only_c) unreachable;
|
||||
|
||||
emit_h = .no;
|
||||
soname = .no;
|
||||
ensure_libc_on_non_freestanding = true;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user