diff options
author | Ayke van Laethem <[email protected]> | 2022-05-22 15:29:47 +0200 |
---|---|---|
committer | Ron Evans <[email protected]> | 2022-05-22 23:29:30 +0200 |
commit | 046070074df6f23da3b29134dd0398c91a41fe90 (patch) | |
tree | b2d10664809b4d270ae7eb6e0a68ebfbbe11e00b /compileopts/config.go | |
parent | c23a5b65ef1a5255a42ada8acda7ff506e6ea075 (diff) | |
download | tinygo-046070074df6f23da3b29134dd0398c91a41fe90.tar.gz tinygo-046070074df6f23da3b29134dd0398c91a41fe90.zip |
darwin: add support for ThinLTO
Diffstat (limited to 'compileopts/config.go')
-rw-r--r-- | compileopts/config.go | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/compileopts/config.go b/compileopts/config.go index b30e653e3..045890bb1 100644 --- a/compileopts/config.go +++ b/compileopts/config.go @@ -192,10 +192,6 @@ func (c *Config) UseThinLTO() bool { // through a plugin, but it's too much hassle to set up. return false } - if len(parts) >= 2 && strings.HasPrefix(parts[2], "macos") { - // We use an external linker here at the moment. - return false - } if len(parts) >= 2 && parts[2] == "windows" { // Linker error (undefined runtime.trackedGlobalsBitmap) when linking // for Windows. Disable it for now until that's figured out and fixed. |