summaryrefslogtreecommitdiffstatshomepage
path: root/scripts/genie.lua
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/genie.lua')
-rw-r--r--scripts/genie.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/genie.lua b/scripts/genie.lua
index bdd97f427c5..4727c1427bb 100644
--- a/scripts/genie.lua
+++ b/scripts/genie.lua
@@ -800,7 +800,7 @@ if _OPTIONS["OPTIMIZE"] then
}
end
if _OPTIONS["LTO"]=="1" then
--- -flto=4 -> 4 threads
+-- -flto=4 -> 4 threads, reduce if you are low on memory (less than 8G)
buildoptions {
"-flto=4",
}
@@ -826,7 +826,9 @@ end
if _OPTIONS["SSE2"]=="1" then
buildoptions {
+ "-msse",
"-msse2",
+ "-msse3"
}
end