blob: 1772e8eb92288ea733fd3b1f642c21b601d1e5ea [file] [log] [blame]
Dan Willemsenf2c876e2018-11-16 13:41:25 -08001NETNS_RUN_DIR = "/mnt/run"
2
3cc_library_headers {
4 name: "iproute2_headers",
5 export_include_dirs: ["include"],
6}
7
8cc_defaults {
9 name: "iproute2_defaults",
10
11 header_libs: ["iproute2_headers"],
12
13 cflags: [
14 "-O2",
15 "-g",
16 "-W",
17 "-Wall",
18 "-Wno-pointer-arith",
19 "-Wno-sign-compare",
20 "-Wno-unused-parameter",
21 "-Werror",
22
23 "-DHAVE_ERRNO_H",
24 "-DHAVE_EXT2_IOCTLS",
25 "-DHAVE_GETPAGESIZE",
26 "-DHAVE_LINUX_FD_H",
27 "-DHAVE_LSEEK64",
28 "-DHAVE_LSEEK64_PROTOTYPE",
29 "-DHAVE_MMAP",
30 "-DHAVE_NETINET_IN_H",
31 "-DHAVE_SELINUX",
32 "-DHAVE_SETNS",
33 "-DHAVE_STDLIB_H",
34 "-DHAVE_STRDUP",
35 "-DHAVE_SYS_IOCTL_H",
36 "-DHAVE_SYS_MMAN_H",
37 "-DHAVE_SYS_MOUNT_H",
38 "-DHAVE_SYS_PRCTL_H",
39 "-DHAVE_SYS_RESOURCE_H",
40 "-DHAVE_SYS_SELECT_H",
41 "-DHAVE_SYS_STAT_H",
42 "-DHAVE_SYS_TYPES_H",
43 "-DHAVE_TYPE_SSIZE_T",
44 "-DHAVE_UNISTD_H",
45 "-DHAVE_UTIME_H",
Maciej Żenczykowski8c0b1d02019-01-16 17:41:10 -080046
47 "-DNO_SHARED_LIBS",
Dan Willemsenf2c876e2018-11-16 13:41:25 -080048 ],
49}