diff options
author | Chih-Hung Hsieh <chh@google.com> | 2017-10-10 14:41:30 -0700 |
---|---|---|
committer | Chih-Hung Hsieh <chh@google.com> | 2017-10-10 14:52:49 -0700 |
commit | b072abd9f9c1668f64d6c2db4aaaed708962eaac (patch) | |
tree | ccd381e3fa2649b4bb8fbdae7687859237e69bcf | |
parent | e2f604066d97431c95856c73d7b9ee46b348d37e (diff) | |
download | libdaemon-b072abd9f9c1668f64d6c2db4aaaed708962eaac.tar.gz |
Use -Werror in external/libdaemon
* Keep user-defined-warnings to fix later.
Bug: 66996870
Test: build with WITH_TIDY=1
Change-Id: Idb7f889803ca602dd484f1aea5b0c5478f4d7c20
-rw-r--r-- | libdaemon/Android.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libdaemon/Android.mk b/libdaemon/Android.mk index 565c873..eab115b 100644 --- a/libdaemon/Android.mk +++ b/libdaemon/Android.mk @@ -25,6 +25,8 @@ LOCAL_EXPORT_C_INCLUDE_DIRS:= $(LOCAL_PATH)/.. # -MT testd.o -MD -MP -MF .deps/testd.Tpo -c -o testd.o testd.c LOCAL_CFLAGS+= \ + -Wall -Werror \ + -Wno-error=user-defined-warnings \ -Wno-unused-parameter \ -DHAVE_CONFIG_H \ -DLOCALSTATEDIR=\"/var\" |