diff options
author | Chih-hung Hsieh <chh@google.com> | 2017-10-12 18:43:16 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2017-10-12 18:43:16 +0000 |
commit | 5e45fbcb70aadaf0e79f177bf836b0d6049b4e0f (patch) | |
tree | 4aab1ab4ccd7bf5da7fb9ebcf617cb167adef1fc | |
parent | 835f318b9785a70415980fba96c34ee5c6b7e415 (diff) | |
parent | 68b050049c31e85232d988e1a1c6f8a74f1c11db (diff) | |
download | libcap-ng-5e45fbcb70aadaf0e79f177bf836b0d6049b4e0f.tar.gz |
Merge "Use -Werror in external/libcap-ng" am: c5a85815e2
am: 68b050049c
Change-Id: Ib6e6ee23991ddd5b1ff4ff05b1bd4a433d37e5c9
-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) - - - |