commit | 63cce391665117abc509b9938aaac0b1ce780b8e | [log] [tgz] |
---|---|---|
author | Dan Willemsen <dwillemsen@google.com> | Thu Aug 29 02:14:27 2019 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Thu Aug 29 02:14:27 2019 +0000 |
tree | e50640b39c7f01436679dfa43aa61e4f9a55964c | |
parent | 7ca557690524d2f02543679eaa6e2f2ff50cc344 [diff] | |
parent | 5d980c878d40fb6490ec2bdbc6a2fc5791c709ab [diff] |
Merge "Disallow __DATE__/__TIME__ on host builds"
diff --git a/cc/config/global.go b/cc/config/global.go index 2150abf..d873494 100644 --- a/cc/config/global.go +++ b/cc/config/global.go
@@ -46,6 +46,8 @@ "-g", "-fno-strict-aliasing", + + "-Werror=date-time", } commonGlobalConlyflags = []string{} @@ -67,7 +69,6 @@ "-Werror=non-virtual-dtor", "-Werror=address", "-Werror=sequence-point", - "-Werror=date-time", "-Werror=format-security", }