diff options
author | Chih-hung Hsieh <chh@google.com> | 2017-10-12 18:04:41 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2017-10-12 18:04:41 +0000 |
commit | 87033684135692deecd6af01ebf3135ab840b557 (patch) | |
tree | a2ac51c5395867d337b7e31995d88c75faea7d24 | |
parent | 7467d52af437dd3dfea237a6865ab84bf258dee0 (diff) | |
parent | 75d9635354cfbb5368b4ba3cf8c643ff02d378bc (diff) | |
download | bison-87033684135692deecd6af01ebf3135ab840b557.tar.gz |
Merge "Use -Werror in external/bison"
-rw-r--r-- | Android.mk | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -132,6 +132,8 @@ LOCAL_SRC_FILES += \ lib/fcntl.c endif +LOCAL_CFLAGS := -Wall -Werror -Wno-sign-compare + include $(BUILD_HOST_STATIC_LIBRARY) ########################################### @@ -143,7 +145,11 @@ LOCAL_C_INCLUDES := \ $(LOCAL_PATH)/$(BUILD_OS)-lib \ $(LOCAL_PATH)/lib -LOCAL_CFLAGS := -DPKGDATADIR=\"$(LOCAL_PATH)/data\" +LOCAL_CFLAGS := -DPKGDATADIR=\"$(LOCAL_PATH)/data\" \ + -Wall -Werror \ + -Wno-sign-compare \ + -Wno-sometimes-uninitialized \ + -Wno-unused-parameter \ LOCAL_STATIC_LIBRARIES := libbison |