summaryrefslogtreecommitdiffstatshomepage
path: root/scripts
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2016-03-11 19:30:37 +0100
committer Miodrag Milanovic <mmicko@gmail.com>2016-03-11 19:31:07 +0100
commitf2ce3142060099005924ca326184746c474c3a65 (patch)
treeb598294bea5df319bd971f8eb8a5e57663745d98 /scripts
parentb4e07b56f770dd723b2762862e4c4c32c6a62d03 (diff)
mingw clang build is working, there seams to still be some issue with optimization (nw)
Diffstat (limited to 'scripts')
-rw-r--r--scripts/genie.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/genie.lua b/scripts/genie.lua
index 9d686e1f274..ad60bc79252 100644
--- a/scripts/genie.lua
+++ b/scripts/genie.lua
@@ -805,6 +805,10 @@ end
"-O".. _OPTIONS["OPTIMIZE"],
"-fno-strict-aliasing"
}
+configuration { "mingw-clang" }
+ buildoptions {
+ "-O1", -- without this executable crash often
+ }
-- add the error warning flag
if _OPTIONS["NOWERROR"]==nil then