aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2014-06-03 16:39:58 -0700
committerElliott Hughes <enh@google.com>2014-06-03 16:39:58 -0700
commitb082645ccbac14e5c2ee2c55b22a0e635c3eae03 (patch)
tree680b4e3126e7cc309e60c38e9b5ce1af5e0e3ec5
parentbd6b849754386a1befa2c935cde3110cadf422c6 (diff)
downloadandroid_bionic-b082645ccbac14e5c2ee2c55b22a0e635c3eae03.tar.gz
android_bionic-b082645ccbac14e5c2ee2c55b22a0e635c3eae03.tar.bz2
android_bionic-b082645ccbac14e5c2ee2c55b22a0e635c3eae03.zip
Work around "error: variable 'uio' set but not used".
I've sent the real fix upstream, and will merge that when they commit it. Change-Id: I75e5cab87026f8990c585d364dd178753d727e2a
-rw-r--r--libc/Android.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/Android.mk b/libc/Android.mk
index 02fad3bce..c0e1d3244 100644
--- a/libc/Android.mk
+++ b/libc/Android.mk
@@ -711,6 +711,7 @@ LOCAL_CFLAGS := \
$(libc_common_cflags) \
-Wno-sign-compare -Wno-uninitialized -Wno-unused-parameter \
-Werror \
+ -Wno-error=unused-but-set-variable \
-I$(LOCAL_PATH)/upstream-openbsd/android/include \
-I$(LOCAL_PATH)/upstream-openbsd/lib/libc/include \
-I$(LOCAL_PATH)/upstream-openbsd/lib/libc/gdtoa/ \