From 3694a121520288125a1c32372b7817b2fd7fafcd Mon Sep 17 00:00:00 2001 From: Stan Date: Mon, 14 Feb 2022 11:01:02 +0000 Subject: [PATCH] Fix x86 Unix versions of 0 A.D. not being able to open the public.zip file. Patch by: @nwtour Differential Revision: https://code.wildfiregames.com/D4413 This was SVN commit r26378. --- build/premake/premake5.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build/premake/premake5.lua b/build/premake/premake5.lua index 6a4c56aa8c..555122797c 100644 --- a/build/premake/premake5.lua +++ b/build/premake/premake5.lua @@ -305,7 +305,9 @@ function project_set_build_flags() -- while tuning for generic to have good performance on every -- supported CPU. -- Note that all these features are already supported on amd64. - "-march=pentium3 -mtune=generic" + "-march=pentium3 -mtune=generic", + -- This allows x86 operating systems to handle the 2GB+ public mod. + "-D_FILE_OFFSET_BITS=64" } end end