[CRIU] [V3 0/4] help to review patches for build with Android NDK

ning.a.zhang at intel.com ning.a.zhang at intel.com
Thu Apr 4 05:22:28 MSK 2019


From: Zhang Ning <ning.a.zhang at intel.com>

Hi, all

Previous patches I added -Wno-macro-redefined and -Wno-implicit-function-declaration,
in CRIU Makefile or build script to supress error reported by Android NDK/Clang.
this is wrong, pointed out by Dmitry, Thank you.

Thus two new patches are added.

Change log:
remove -Wno-implicit-function-declaration.
add ifndef check for UNIX_PATH_MAX to avoid -Wno-macro-redefined.
add index function declare.
add notes for Android NDK cross compile.

Zhang Ning (4):
  Android NDK: necessary Makefile changes
  Android NDK: UNIX_PATH_MAX is defined in un.h
  Android NDK: no index function in strings.h
  Add notes for Android NDK cross compile

 Documentation/HOWTO.cross-compile | 8 ++++++++
 compel/src/lib/infect.c           | 2 ++
 criu/Makefile                     | 2 +-
 criu/Makefile.packages            | 2 +-
 criu/config.c                     | 2 ++
 criu/include/util-pie.h           | 2 ++
 6 files changed, 16 insertions(+), 2 deletions(-)

-- 
2.20.1



More information about the CRIU mailing list