aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZiyan <jaraidaniel@gmail.com>2016-09-15 11:00:27 +0200
committerAndreas Blaesius <skate4life@gmx.de>2016-09-24 13:52:00 +0200
commit4ad377e969cf26a7fd0e9d39872122b17fea41c9 (patch)
tree7639a6da3786d18617b73d0d64c3a1f2e6a81e49
parent1f1cd98e3dc8a03d437ca64b81912c3c0fed633d (diff)
downloaddevice_samsung_espressowifi-4ad377e969cf26a7fd0e9d39872122b17fea41c9.zip
device_samsung_espressowifi-4ad377e969cf26a7fd0e9d39872122b17fea41c9.tar.gz
device_samsung_espressowifi-4ad377e969cf26a7fd0e9d39872122b17fea41c9.tar.bz2
libsensors: build with -Wall -Werror
Change-Id: I511e276aba490813e9e0eef83a64b0828e27412e
-rw-r--r--libsensors/Android.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/libsensors/Android.mk b/libsensors/Android.mk
index 6e7cb93..cc86f42 100644
--- a/libsensors/Android.mk
+++ b/libsensors/Android.mk
@@ -30,6 +30,8 @@ LOCAL_SRC_FILES := \
LOCAL_C_INCLUDES := \
$(LOCAL_PATH)
+LOCAL_CFLAGS := -Wall -Werror
+
LOCAL_SHARED_LIBRARIES := libutils libcutils liblog libhardware
LOCAL_PRELINK_MODULE := false
@@ -47,6 +49,8 @@ LOCAL_SRC_FILES := \
geomagneticd.c \
input.c
+LOCAL_CFLAGS := -Wall -Werror
+
LOCAL_SHARED_LIBRARIES := libutils libcutils liblog
LOCAL_PRELINK_MODULE := false
@@ -65,6 +69,8 @@ LOCAL_SRC_FILES := \
bma250.c \
yas530.c
+LOCAL_CFLAGS := -Wall -Werror
+
LOCAL_SHARED_LIBRARIES := libutils libcutils liblog
LOCAL_PRELINK_MODULE := false