summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Cheng <bccheng@google.com>2013-09-04 14:08:55 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2013-09-04 14:08:55 -0700
commit61e4b4d5a8a948c4241c26627cf8d6cb9d0544ca (patch)
tree49ea094690428ddf21c277396690950e40d68e6e
parentd64df296998bcb1528067d7e9adc40cf5e47abd1 (diff)
parent8fb85b37af1753ce6bc5d88a04485a6c805bb3a3 (diff)
downloadsystem_core-61e4b4d5a8a948c4241c26627cf8d6cb9d0544ca.zip
system_core-61e4b4d5a8a948c4241c26627cf8d6cb9d0544ca.tar.gz
system_core-61e4b4d5a8a948c4241c26627cf8d6cb9d0544ca.tar.bz2
am 8fb85b37: am 2b2f1ae8: Merge "Add -Wno-unused-parameter to suppress the warning."
* commit '8fb85b37af1753ce6bc5d88a04485a6c805bb3a3': Add -Wno-unused-parameter to suppress the warning.
-rw-r--r--libcorkscrew/Android.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcorkscrew/Android.mk b/libcorkscrew/Android.mk
index d62c2d5..e275317 100644
--- a/libcorkscrew/Android.mk
+++ b/libcorkscrew/Android.mk
@@ -51,7 +51,7 @@ endif
LOCAL_SHARED_LIBRARIES += libdl libcutils liblog libgccdemangle
-LOCAL_CFLAGS += -std=gnu99 -Werror
+LOCAL_CFLAGS += -std=gnu99 -Werror -Wno-unused-parameter
LOCAL_MODULE := libcorkscrew
LOCAL_MODULE_TAGS := optional
@@ -81,7 +81,7 @@ ifeq ($(HOST_OS),linux)
LOCAL_SHARED_LIBRARIES += libgccdemangle # TODO: is this even needed on Linux?
LOCAL_LDLIBS += -lrt
endif
-LOCAL_CFLAGS += -std=gnu99 -Werror
+LOCAL_CFLAGS += -std=gnu99 -Werror -Wno-unused-parameter
LOCAL_MODULE := libcorkscrew
LOCAL_MODULE_TAGS := optional
include $(BUILD_HOST_SHARED_LIBRARY)