diff options
Diffstat (limited to 'scripts/genie.lua')
-rw-r--r-- | scripts/genie.lua | 23 |
1 files changed, 9 insertions, 14 deletions
diff --git a/scripts/genie.lua b/scripts/genie.lua index 004016c916f..356d4d8d3dc 100644 --- a/scripts/genie.lua +++ b/scripts/genie.lua @@ -725,24 +725,19 @@ if _OPTIONS["OPTIMIZE"] then } end if _OPTIONS["LTO"]=="1" then +-- -flto=4 -> 4 threads buildoptions { - "-flto", + "-flto=4", + } + buildoptions { + "-fno-fat-lto-objects", + } + linkoptions { + "-flto=4", } --- buildoptions { --- "-ffat-lto-objects", --- } --- buildoptions { --- "-flto-partition=1to1", --- } linkoptions { - "-flto", + "-fno-fat-lto-objects", } --- linkoptions { --- "-flto-partition=1to1", --- } --- linkoptions { --- "-ffat-lto-objects", --- } end |