Loading cc/lto.go +3 −0 Original line number Diff line number Diff line Loading @@ -60,6 +60,9 @@ func (lto *lto) props() []interface{} { } func (lto *lto) begin(ctx BaseModuleContext) { if ctx.Config().IsEnvTrue("DISABLE_LTO") { lto.Properties.Lto.Never = boolPtr(true) } } func (lto *lto) deps(ctx BaseModuleContext, deps Deps) Deps { Loading Loading
cc/lto.go +3 −0 Original line number Diff line number Diff line Loading @@ -60,6 +60,9 @@ func (lto *lto) props() []interface{} { } func (lto *lto) begin(ctx BaseModuleContext) { if ctx.Config().IsEnvTrue("DISABLE_LTO") { lto.Properties.Lto.Never = boolPtr(true) } } func (lto *lto) deps(ctx BaseModuleContext, deps Deps) Deps { Loading