From 249c26de823be0f9a84a9f092c776bcd9830fba5 Mon Sep 17 00:00:00 2001 From: Mark Salyzyn Date: Thu, 15 May 2014 15:08:50 -0700 Subject: [PATCH] libnetutils: Turn on -Werror Change-Id: Ie6754f41f9348852a02cc0ff35befb5a76ac2882 --- libnetutils/Android.mk | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/libnetutils/Android.mk b/libnetutils/Android.mk index aba462184..1f61511e9 100644 --- a/libnetutils/Android.mk +++ b/libnetutils/Android.mk @@ -1,7 +1,7 @@ -LOCAL_PATH:= $(call my-dir) +LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) -LOCAL_SRC_FILES:= \ +LOCAL_SRC_FILES := \ dhcpclient.c \ dhcpmsg.c \ dhcp_utils.c \ @@ -12,6 +12,8 @@ LOCAL_SHARED_LIBRARIES := \ libcutils \ liblog -LOCAL_MODULE:= libnetutils +LOCAL_MODULE := libnetutils + +LOCAL_CFLAGS := -Werror include $(BUILD_SHARED_LIBRARY)