aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Willemsen <dwillemsen@google.com>2016-03-01 15:16:50 -0800
committerDan Willemsen <dwillemsen@google.com>2016-03-01 17:22:44 -0800
commita6084a36628e1bd3cf0b001b41206a15615f19dc (patch)
tree10de6bfa540d5ac07acaa23454b4f926e1b73755
parent0084d78abf4ea47c1692180c70820dfc6f3fc219 (diff)
downloadbuild_soong-a6084a36628e1bd3cf0b001b41206a15615f19dc.tar.gz
build_soong-a6084a36628e1bd3cf0b001b41206a15615f19dc.tar.bz2
build_soong-a6084a36628e1bd3cf0b001b41206a15615f19dc.zip
Add -Werror=date-time to target builds
Soong port of https://android-review.googlesource.com/195464 Change-Id: I68acfb53be962ffd5c488337517dadb950a13b6f
-rw-r--r--cc/cc.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cc/cc.go b/cc/cc.go
index 9e75dd8a..65ccf3d3 100644
--- a/cc/cc.go
+++ b/cc/cc.go
@@ -94,6 +94,7 @@ var (
"-Werror=non-virtual-dtor",
"-Werror=address",
"-Werror=sequence-point",
+ "-Werror=date-time",
}
hostGlobalCflags = []string{}