diff options
author | android-build-team Robot <android-build-team-robot@google.com> | 2017-10-17 08:00:56 +0000 |
---|---|---|
committer | android-build-team Robot <android-build-team-robot@google.com> | 2017-10-17 08:00:56 +0000 |
commit | 115678456b2bebe23233604a5a75e2772aeac37e (patch) | |
tree | f1461201d030f601733d7b727784456ac0214b93 | |
parent | 80f51beb5638ec82d248dc4eaa5e71abb575050b (diff) | |
parent | 495b0f7ab19144eafb1640b374536d1315d3f176 (diff) | |
download | vboot_reference-115678456b2bebe23233604a5a75e2772aeac37e.tar.gz |
Snap for 4399706 from 495b0f7ab19144eafb1640b374536d1315d3f176 to pi-release
Change-Id: I418c9bff69818ed6c4d9a2628c331b2b4ef47a05
-rw-r--r-- | Android.mk | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -4,11 +4,23 @@ # Minimal makefile capable of compiling futility to sign images +libvboot_common_warning_flags := \ + -Wall -Werror \ + -Wno-address-of-packed-member \ + -Wno-ignored-qualifiers \ + -Wno-macro-redefined \ + -Wno-pointer-arith \ + -Wno-sign-compare \ + -Wno-typedef-redefinition \ + -Wno-unused-parameter \ + LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) LOCAL_MODULE := libvboot_util-host +LOCAL_CFLAGS := $(libvboot_common_warning_flags) + ifeq ($(HOST_OS),darwin) LOCAL_CFLAGS += -DHAVE_MACOS -DO_LARGEFILE=0 endif @@ -118,6 +130,8 @@ LOCAL_IS_HOST_MODULE := true LOCAL_MODULE_CLASS := EXECUTABLES generated_sources := $(call local-generated-sources-dir) +LOCAL_CFLAGS := $(libvboot_common_warning_flags) + ifeq ($(HOST_OS),darwin) LOCAL_CFLAGS += -DHAVE_MACOS endif @@ -177,3 +191,4 @@ LOCAL_STATIC_LIBRARIES := libvboot_util-host LOCAL_SHARED_LIBRARIES := libcrypto include $(BUILD_HOST_EXECUTABLE) +libvboot_common_warning_flags := |