diff options
author | Andreas Gampe <agampe@google.com> | 2014-11-25 20:07:55 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2014-11-25 20:07:55 +0000 |
commit | 42616dc8bf166a8d870ebed23335486e9bfc3838 (patch) | |
tree | 22a24b0f1c2188415ce80793d32a530207aa48a2 /0.153 | |
parent | f63e25eaf25028de2d8b1495da8233ae14a5d1ff (diff) | |
parent | 63ad509f81adf34a2322498355cf1c3337be3e01 (diff) | |
download | android_external_elfutils-42616dc8bf166a8d870ebed23335486e9bfc3838.tar.gz android_external_elfutils-42616dc8bf166a8d870ebed23335486e9bfc3838.tar.bz2 android_external_elfutils-42616dc8bf166a8d870ebed23335486e9bfc3838.zip |
am 63ad509f: am b85bc28b: Merge "Elfutils: Don\'t warn on seemingly unused variable"
* commit '63ad509f81adf34a2322498355cf1c3337be3e01':
Elfutils: Don't warn on seemingly unused variable
Diffstat (limited to '0.153')
-rwxr-xr-x | 0.153/libdwfl/Android.mk | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/0.153/libdwfl/Android.mk b/0.153/libdwfl/Android.mk index 84e789c4..f4172476 100755 --- a/0.153/libdwfl/Android.mk +++ b/0.153/libdwfl/Android.mk @@ -71,6 +71,10 @@ LOCAL_CFLAGS += -Wno-pointer-arith # to fix machine-dependent issues LOCAL_CFLAGS += -include $(LOCAL_PATH)/../host-$(HOST_OS)-fixup/AndroidFixup.h +# Asserts are not compiled, so some debug variables appear unused. Rather than +# fix, we prefer to turn off the warning locally. +LOCAL_CFLAGS += -Wno-unused-but-set-variable + LOCAL_MODULE:= libdwfl include $(BUILD_HOST_STATIC_LIBRARY) @@ -105,6 +109,9 @@ LOCAL_CFLAGS += -DHAVE_CONFIG_H -std=gnu99 -Werror # to suppress the "pointer of type ‘void *’ used in arithmetic" warning LOCAL_CFLAGS += -Wno-pointer-arith +# See above. +LOCAL_CFLAGS += -Wno-unused-but-set-variable + LOCAL_MODULE:= libdwfl include $(BUILD_STATIC_LIBRARY) |