summaryrefslogtreecommitdiffstats
path: root/0.153/libdwfl/Android.mk
diff options
context:
space:
mode:
Diffstat (limited to '0.153/libdwfl/Android.mk')
-rwxr-xr-x0.153/libdwfl/Android.mk9
1 files changed, 6 insertions, 3 deletions
diff --git a/0.153/libdwfl/Android.mk b/0.153/libdwfl/Android.mk
index 6d283848..84e789c4 100755
--- a/0.153/libdwfl/Android.mk
+++ b/0.153/libdwfl/Android.mk
@@ -48,6 +48,9 @@ ifeq ($(HOST_OS),linux)
include $(CLEAR_VARS)
+# Clang has no nested functions.
+LOCAL_CLANG := false
+
LOCAL_SRC_FILES := $(LIBDWFL_SRC_FILES)
LOCAL_C_INCLUDES := \
@@ -65,9 +68,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
-# libdwfl is one of the few libs that will never compile with clang
-LOCAL_CLANG := false
-
# to fix machine-dependent issues
LOCAL_CFLAGS += -include $(LOCAL_PATH)/../host-$(HOST_OS)-fixup/AndroidFixup.h
@@ -83,6 +83,9 @@ endif # linux
include $(CLEAR_VARS)
+# Clang has no nested functions.
+LOCAL_CLANG := false
+
LOCAL_SRC_FILES := $(LIBDWFL_SRC_FILES)
LOCAL_C_INCLUDES := \