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

Commit 91b8abca authored by Victor Hsieh's avatar Victor Hsieh
Browse files

block_device_reader: add -D_FILE_OFFSET_BITS=64

This allows pread/pwrite to access big storage.

Test: run the command, see expected behavior
Bug: 144164497
Change-Id: Ie560da4fc44f8bd10c332629ac9732053990f808
parent de887b35
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -22,7 +22,13 @@ cc_test {
    stem: "block_device_writer",

    srcs: ["block_device_writer.cpp"],
    cflags: ["-Wall", "-Werror", "-Wextra", "-g"],
    cflags: [
        "-D_FILE_OFFSET_BITS=64",
        "-Wall",
        "-Werror",
        "-Wextra",
        "-g",
    ],
    shared_libs: ["libbase", "libutils"],

    test_suites: ["general-tests"],