Elfutils: Don't warn on seemingly unused variable

When asserts are nops, the compiler thinks the variable is unused
and will issue a terminal warning.

Locally turning off the warning is preferred as it eases upgrading
the project.

Change-Id: I2a910b02bc2ebd2ec299fee0426aea1390eaf9d4
diff --git a/0.153/libdwfl/Android.mk b/0.153/libdwfl/Android.mk
index 84e789c..f417247 100755
--- a/0.153/libdwfl/Android.mk
+++ b/0.153/libdwfl/Android.mk
@@ -71,6 +71,10 @@
 # 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 @@
 # 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)