libziparchive: use _FILE_OFFSET_BITS=64

On 32 bit system those calls may fail if one tries to unpack files which
are bigger than 2GB.

Use large file system support to fix this problem.

Test: unpack a file bigger than 2GB on 32 bit Android systems

Change-Id: Ibd9bd5fc4a2f8dc7df98bd595f4fd1638a4f0d4a
Signed-off-by: Christian Poetzsch <christian.potzsch@imgtec.com>
This commit is contained in:
Christian Poetzsch 2016-12-20 16:13:41 +00:00 committed by Christian Pötzsch
parent 8a1c4b8530
commit 3081c5ebfb
1 changed files with 1 additions and 0 deletions

View File

@ -20,6 +20,7 @@ cc_defaults {
"-DZLIB_CONST",
"-Werror",
"-Wall",
"-D_FILE_OFFSET_BITS=64",
],
cppflags: [
"-Wold-style-cast",