summaryrefslogtreecommitdiffstatshomepage
path: root/scripts/genie.lua
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2015-06-07 12:59:55 +0200
committer Miodrag Milanovic <mmicko@gmail.com>2015-06-07 12:59:55 +0200
commitbe9551fddeb30107b43d455e88cba3e6cd25db99 (patch)
tree08f145171b52c461289d606c0699af90314c32f8 /scripts/genie.lua
parentda17662c84c6d3349e503e00929ac64b319fe22c (diff)
Fix for 64bit build size thanks to Peter Ferrie (nw)
Diffstat (limited to 'scripts/genie.lua')
-rw-r--r--scripts/genie.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/genie.lua b/scripts/genie.lua
index 7a591db050b..18f0fd1554c 100644
--- a/scripts/genie.lua
+++ b/scripts/genie.lua
@@ -509,6 +509,13 @@ if _OPTIONS["targetos"]=="windows" then
configuration { }
end
+
+configuration { "x64", "gmake" }
+ linkoptions {
+ "--image-base 0x100000000",
+ }
+configuration { }
+
-- Avoid error when invoking genie --help.
if (_ACTION == nil) then return false end