From a4d7ae1b604bd095e3c94afdc063b303729659bd Mon Sep 17 00:00:00 2001 From: Robin Nabel Date: Wed, 11 Jul 2018 09:55:21 +0100 Subject: [PATCH] Add feature: "disable_errors" to darwin toolchain. --- tools/osx/crosstool/CROSSTOOL.tpl | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/tools/osx/crosstool/CROSSTOOL.tpl b/tools/osx/crosstool/CROSSTOOL.tpl index 36b30aa21536f1..cdd1a9900be0a6 100644 --- a/tools/osx/crosstool/CROSSTOOL.tpl +++ b/tools/osx/crosstool/CROSSTOOL.tpl @@ -201,6 +201,16 @@ toolchain { expand_if_all_available: "legacy_compile_flags" } } + feature { + name: "disable_errors" + flag_set { + action: "c-compile" + action: "c++-compile" + flag_group { + flag: "-w" + } + } + } feature { name: "generate_dsym_file" flag_set {