diff options
Diffstat (limited to '0.153/libelf/Android.mk')
-rwxr-xr-x | 0.153/libelf/Android.mk | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/0.153/libelf/Android.mk b/0.153/libelf/Android.mk index 2a733a5b..e1a76cf5 100755 --- a/0.153/libelf/Android.mk +++ b/0.153/libelf/Android.mk @@ -133,6 +133,9 @@ ifeq ($(HOST_OS),linux) include $(CLEAR_VARS) +# Clang has no nested functions. +LOCAL_CLANG := false + LOCAL_SRC_FILES := $(LIBELF_SRC_FILES) LOCAL_C_INCLUDES := \ @@ -147,9 +150,6 @@ LOCAL_CFLAGS += -DHAVE_CONFIG_H -std=gnu99 -D_GNU_SOURCE # to suppress the "pointer of type ‘void *’ used in arithmetic" warning LOCAL_CFLAGS += -Wno-pointer-arith -# can't build libelf with clang -LOCAL_CLANG := false - # to fix machine-dependent issues LOCAL_CFLAGS += -include $(LOCAL_PATH)/../host-$(HOST_OS)-fixup/AndroidFixup.h @@ -165,6 +165,9 @@ endif # linux include $(CLEAR_VARS) +# Clang has no nested functions. +LOCAL_CLANG := false + LOCAL_SRC_FILES := $(LIBELF_SRC_FILES) LOCAL_C_INCLUDES := \ |