summaryrefslogtreecommitdiff
path: root/Android.bp
blob: 3d57578dcc48dab64b20a4fbdd4e9f48ea8a1a9c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
cc_binary {
    name: "fsck_msdos",
    srcs: [
        "boot.c",
        "check.c",
        "dir.c",
        "fat.c",
        "fsutil.c",
        "main.c",
    ],
    include_dirs: ["external/fsck_msdos/"],
    cflags: [
        "-O2",
        "-g",
        "-Wall",
        "-Werror",
        "-D_BSD_SOURCE",
        "-D_LARGEFILE_SOURCE",
        "-D_FILE_OFFSET_BITS=64",
        "-Wno-unused-variable",
        "-Wno-unused-const-variable",
        "-Wno-format",
        "-Wno-sign-compare",
        "-include freebsd-compat.h",
    ],
}