From 7cdc3dce36f02bf957d95440eaf07494af9d5ce2 Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Wed, 25 Sep 2019 15:52:39 -0700 Subject: [PATCH] Remove -Wno-int-in-bool-context as LLVM has made that warning more precise, and we no longer need it. --- tools/system_libs.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tools/system_libs.py b/tools/system_libs.py index 81bd6d19b300a..8703c58e01b82 100755 --- a/tools/system_libs.py +++ b/tools/system_libs.py @@ -44,10 +44,6 @@ def get_cflags(force_object_files=False): flags += ['-s', 'WASM_OBJECT_FILES=0'] if shared.Settings.RELOCATABLE: flags += ['-s', 'RELOCATABLE'] - if shared.Settings.WASM_BACKEND: - # musl, compiler-rt, etc use ints in bool contexts in many places, like - # (x << 10) ? y : z - flags += ['-Wno-int-in-bool-context'] return flags