diff options
author | Chih-hung Hsieh <chh@google.com> | 2017-10-12 18:07:46 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2017-10-12 18:07:46 +0000 |
commit | c5a85815e28c7b29d19d532a5548e7ce63a87920 (patch) | |
tree | 4aab1ab4ccd7bf5da7fb9ebcf617cb167adef1fc | |
parent | 835f318b9785a70415980fba96c34ee5c6b7e415 (diff) | |
parent | 3b9a15874a8048dc3f502e493adc28365eec59fc (diff) | |
download | libcap-ng-c5a85815e28c7b29d19d532a5548e7ce63a87920.tar.gz |
Merge "Use -Werror in external/libcap-ng"
-rw-r--r-- | Android.mk | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -8,6 +8,10 @@ LOCAL_SRC_FILES := \ LOCAL_C_INCLUDES += $(LOCAL_PATH)/libcap-ng-0.7/src LOCAL_MODULE := libcap-ng +LOCAL_CFLAGS := \ + -Wall -Werror \ + -Wno-enum-conversion \ + -Wno-unused-parameter include $(BUILD_SHARED_LIBRARY) ###################### @@ -17,7 +21,5 @@ LOCAL_SRC_FILES := libcap-ng-0.7/utils/pscap.c LOCAL_C_INCLUDES += $(LOCAL_PATH)/libcap-ng-0.7/src LOCAL_SHARED_LIBRARIES += libcap-ng LOCAL_MODULE := pscap +LOCAL_CFLAGS := -Wall -Werror include $(BUILD_EXECUTABLE) - - - |