summaryrefslogtreecommitdiff
path: root/tools/setup.py
diff options
context:
space:
mode:
authorBert Belder <bertbelder@gmail.com>2018-10-26 04:13:10 +0200
committerBert Belder <bertbelder@gmail.com>2018-10-26 04:14:37 +0200
commitdfe21af237c2dde125b352c7f069b1d8d8b5d8b4 (patch)
treea95e9018f9fafbaf6dd35f06d00aacc33f55499a /tools/setup.py
parent61b765e008fdcccb6237922a6941a999b495ccfd (diff)
Disable treat_warnings_as_errors on windows when sccache is in use
Diffstat (limited to 'tools/setup.py')
-rwxr-xr-xtools/setup.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/setup.py b/tools/setup.py
index 7b14c6370..b806267cb 100755
--- a/tools/setup.py
+++ b/tools/setup.py
@@ -126,6 +126,9 @@ def generate_gn_args(mode):
if os.name == "nt":
tc = "//build_extra/toolchain/win:win_clang_x64"
out += ['custom_toolchain="%s"' % tc, 'host_toolchain="%s"' % tc]
+ # Disable treat_warnings_as_errors until this sccache bug is fixed:
+ # https://github.com/mozilla/sccache/issues/264
+ out += ["treat_warnings_as_errors=false"]
# Look for sccache; if found, set rustc_wrapper.
rustc_wrapper = find_executable("sccache")