core: fix windows release build issues by disabling LTO (#778)
This commit is contained in:
parent
4e66ab8896
commit
e9e4a358fb
1 changed files with 2 additions and 0 deletions
|
|
@ -151,6 +151,8 @@ pub fn Sdk(comptime deps: anytype) type {
|
||||||
.target = options.target,
|
.target = options.target,
|
||||||
.optimize = options.optimize,
|
.optimize = options.optimize,
|
||||||
});
|
});
|
||||||
|
// TODO(core): figure out why we need to disable LTO: https://github.com/hexops/mach/issues/597
|
||||||
|
exe.want_lto = false;
|
||||||
exe.addModule("glfw", deps.glfw.module(b));
|
exe.addModule("glfw", deps.glfw.module(b));
|
||||||
|
|
||||||
if (target.os.tag == .linux) {
|
if (target.os.tag == .linux) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue