diff options
| author | 2018-12-06 12:11:21 +0000 | |
|---|---|---|
| committer | 2018-12-06 12:17:40 +0000 | |
| commit | f993e7797dc5f1040e39ad9ca1bad27fa0ca66b8 (patch) | |
| tree | ebe4a78ee8afdd1bd75b180a9dff2cca5e4962cd | |
| parent | 4f0ce757aa2bc039bf143087fe586d9b587c5e5c (diff) | |
Revert "Remove unneeded -Wno-constant-logical-operand flag"
This reverts commit 4f0ce757aa2bc039bf143087fe586d9b587c5e5c.
Reason for revert: Breaks several targets in internal git_master, e.g. http://ab/5165971.
Test: Build failing library
Change-Id: I02a5ade05a76b24020586c55a4e8f441ca7708a9
| -rw-r--r-- | cc/config/clang.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cc/config/clang.go b/cc/config/clang.go index 0b2190c47..46d852880 100644 --- a/cc/config/clang.go +++ b/cc/config/clang.go @@ -186,6 +186,9 @@ func init() { // compatibility. "-Wno-c++98-compat-extra-semi", + // Disable this warning until we can fix all instances where it fails. + "-Wno-constant-logical-operand", + // Disable this warning because we don't care about behavior with older compilers. "-Wno-return-std-move-in-c++11", |