Index: build/premake/premake5.lua =================================================================== --- build/premake/premake5.lua +++ build/premake/premake5.lua @@ -304,7 +304,8 @@ -- 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", + "-D_FILE_OFFSET_BITS=64" } end end