Subject: 30.0.50; Cannot build some modules without adding LOCAL_EXPORT_CFLAGS=-isystem ... on Android port.
From: Takesi Ayanokoji <[email-masked]>
To: [email-masked]
Date: Fri, 13 Oct 2023 06:17:50 +0900
List-Id: <debbugs-submit.debbugs.gnu.org>

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,