mirror of
https://github.com/ziglang/zig.git
synced 2026-02-15 05:48:31 +00:00
parent
eecb669074
commit
fb99808008
@ -32,6 +32,10 @@ pub fn build(b: *Builder) void {
|
||||
exe_cpp.linkSystemLibrary("c++");
|
||||
|
||||
switch (target.getOsTag()) {
|
||||
.windows => {
|
||||
// https://github.com/ziglang/zig/issues/8531
|
||||
exe_cpp.want_lto = false;
|
||||
},
|
||||
.macos => {
|
||||
// https://github.com/ziglang/zig/issues/8680
|
||||
exe_cpp.want_lto = false;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user