Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0a59994c authored by Akilesh Kailash's avatar Akilesh Kailash
Browse files

Compile with -D_FILE_OFFSET_BITS to support 32-bit userspace



This is to support when partition sizes are greater than 2GB (2^31)
on 32-bit userspace.

Bug: 300178204
Test: OTA on device with 32-bit userspace + product partition > 2GB
Change-Id: I7074682352d8388ed410c684cb7cb0fa346ba24c
Signed-off-by: default avatarAkilesh Kailash <akailash@google.com>
parent c5365ad4
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -104,6 +104,10 @@ cc_defaults {
        "user-space-merge/snapuserd_server.cpp",
    ],

    cflags: [
        "-D_FILE_OFFSET_BITS=64",
    ],

    static_libs: [
        "libbase",
        "libbrotli",