From 6dfb5511af4e82d766b5038f06b21243e1e0a921 Mon Sep 17 00:00:00 2001 From: Cowering Date: Wed, 27 May 2015 09:28:37 -0500 Subject: [PATCH] test --- scripts/genie.lua | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) 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