summaryrefslogtreecommitdiffstats
path: root/NativeCode.mk
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2010-02-02 23:06:12 -0800
committerElliott Hughes <enh@google.com>2010-02-02 23:06:12 -0800
commit64f2ba48fb9306ab1d97f5f83053ee7f48223de8 (patch)
tree31e37bff96e16a2c6b36f0df0f98aa770e3a941d /NativeCode.mk
parent326600b64610c22fb4a34a62dcd45fe707148ce2 (diff)
downloadlibcore-64f2ba48fb9306ab1d97f5f83053ee7f48223de8.zip
libcore-64f2ba48fb9306ab1d97f5f83053ee7f48223de8.tar.gz
libcore-64f2ba48fb9306ab1d97f5f83053ee7f48223de8.tar.bz2
Silence "note: the mangling of 'va_list' has changed in GCC 4.4".
Not strictly necessary for turning on -Werror for libcore, but worth doing anyway.
Diffstat (limited to 'NativeCode.mk')
-rw-r--r--NativeCode.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/NativeCode.mk b/NativeCode.mk
index 57c4903..38ff709 100644
--- a/NativeCode.mk
+++ b/NativeCode.mk
@@ -85,6 +85,11 @@ core_static_libraries := $(sort $(LOCAL_STATIC_LIBRARIES))
include $(CLEAR_VARS)
+ifeq ($(TARGET_ARCH),arm)
+# Ignore "note: the mangling of 'va_list' has changed in GCC 4.4"
+LOCAL_CFLAGS += -Wno-psabi
+endif
+
# Define the rules.
LOCAL_SRC_FILES := $(core_src_files)
LOCAL_C_INCLUDES := $(core_c_includes)