From be9551fddeb30107b43d455e88cba3e6cd25db99 Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Sun, 7 Jun 2015 12:59:55 +0200 Subject: [PATCH] Fix for 64bit build size thanks to Peter Ferrie (nw) --- scripts/genie.lua | 7 +++++++ 1 file changed, 7 insertions(+) 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