Hello,
Duaring building Emacs Android port, I encountered some modules that could not build without specifying system include header file by -isystem.
These modules are
libxml2:
add LOCAL_EXPORT_CFLAGS := -isystem $(LOCAL_PATH)/include
to its Android.mk.
lbjansson:
add LOCAL_EXPORT_CFLAGS := -isystem $(LOCAL_PATH)/src -I $(LOCAL_PATH)/android
to its Android.mk
core/libpackagelistparser:
add LOCAL_EXPORT_CFLAGS := -isystem $(LOCAL_PATH)/../include
(I installed it from core/libpackagelistparser)
Thanks,