aboutsummaryrefslogtreecommitdiffhomepage
path: root/compileopts
diff options
context:
space:
mode:
Diffstat (limited to 'compileopts')
-rw-r--r--compileopts/config.go8
1 files changed, 0 insertions, 8 deletions
diff --git a/compileopts/config.go b/compileopts/config.go
index 4a9670005..bfb02f1b7 100644
--- a/compileopts/config.go
+++ b/compileopts/config.go
@@ -191,14 +191,6 @@ func (c *Config) StackSize() uint64 {
return c.Target.DefaultStackSize
}
-// UseThinLTO returns whether ThinLTO should be used for the given target.
-func (c *Config) UseThinLTO() bool {
- // All architectures support ThinLTO now. However, this code is kept for the
- // time being in case there are regressions. The non-ThinLTO code support
- // should be removed when it is proven to work reliably.
- return true
-}
-
// RP2040BootPatch returns whether the RP2040 boot patch should be applied that
// calculates and patches in the checksum for the 2nd stage bootloader.
func (c *Config) RP2040BootPatch() bool {