summaryrefslogtreecommitdiffstatshomepage
path: root/scripts/genie.lua
diff options
context:
space:
mode:
author Cowering <cowering@users.noreply.github.com>2015-05-27 09:28:37 -0500
committer Cowering <cowering@users.noreply.github.com>2015-05-27 09:28:37 -0500
commit6dfb5511af4e82d766b5038f06b21243e1e0a921 (patch)
treed0931892a36cdbd1d29d81a52023c9a12bc2a5ab /scripts/genie.lua
parent4223859f670946c3f96dfd08a75fed5ba532fe0e (diff)
test
Diffstat (limited to 'scripts/genie.lua')
-rw-r--r--scripts/genie.lua17
1 files changed, 16 insertions, 1 deletions
diff --git a/scripts/genie.lua b/scripts/genie.lua
index 79702a38c78..b19c7d4a16e 100644
--- a/scripts/genie.lua
+++ b/scripts/genie.lua
@@ -723,9 +723,23 @@ if _OPTIONS["OPTIMIZE"] then
buildoptions {
"-flto",
}
+-- buildoptions {
+-- "-ffat-lto-objects",
+-- }
+-- buildoptions {
+-- "-flto-partition=1to1",
+-- }
linkoptions {
"-flto",
}
+-- linkoptions {
+-- "-flto-partition=1to1",
+-- }
+-- linkoptions {
+-- "-ffat-lto-objects",
+-- }
+
+
end
end
@@ -859,8 +873,9 @@ end
if (version >= 40800) then
-- array bounds checking seems to be buggy in 4.8.1 (try it on video/stvvdp1.c and video/model1.c without -Wno-array-bounds)
buildoptions {
+ "-D__USE_MINGW_ANSI_STDIO=1",
"-Wno-unused-variable",
- "-Wno-array-bounds"
+-- "-Wno-array-bounds"
}
end
end