aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2017-10-31 23:40:27 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2017-10-31 23:40:27 +0000
commita6fdde33684772bf0871bbe3ca21dcd49502a835 (patch)
tree48dbd757e40bebc4fe3214841a14957d5ca43baf
parent794bc3852146342eef74c568b397e2edd0da2b7b (diff)
parentdf01d33325ef69c75719123e5b53f68b840d54cf (diff)
downloadclang-a6fdde33684772bf0871bbe3ca21dcd49502a835.tar.gz
Merge "Do not add -Wno-unused-lambda-capture for Windows"
-rw-r--r--Android.bp6
1 files changed, 5 insertions, 1 deletions
diff --git a/Android.bp b/Android.bp
index 6599a43482..1c6ec24af2 100644
--- a/Android.bp
+++ b/Android.bp
@@ -10,7 +10,6 @@ cc_defaults {
"-pedantic",
"-Wcast-qual",
"-Wno-long-long",
- "-Wno-unused-lambda-capture",
],
include_dirs: [
@@ -30,6 +29,11 @@ cc_defaults {
"-Wno-error=uninitialized",
],
},
+ not_windows: {
+ cflags: [
+ "-Wno-unused-lambda-capture",
+ ],
+ },
},
}