cc: remove argument parsing from only-c builds
This commit is contained in:
committed by
Andrew Kelley
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;
|
||||
|
||||
Reference in New Issue
Block a user