Merge "Add -Werror=date-time to target builds" am: 5c3f812507

am: 9f41040b00

* commit '9f41040b000bf2ea98b70eea6f60a41385d55fe3':
  Add -Werror=date-time to target builds
This commit is contained in:
Dan Willemsen 2016-01-16 20:18:54 +00:00 committed by android-build-merger
commit 543623c2b6

View file

@ -609,7 +609,7 @@ GLOBAL_CLANG_CFLAGS_NO_OVERRIDE := \
GLOBAL_CPPFLAGS_NO_OVERRIDE :=
# list of flags to turn specific warnings in to errors
TARGET_ERROR_FLAGS := -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point
TARGET_ERROR_FLAGS := -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Werror=date-time
# We run gcc/clang with PWD=/proc/self/cwd to remove the $TOP
# from the debug output. That way two builds in two different