From 1086c398e6a80eb25d952ee1e7d15f0b20b86d1d Mon Sep 17 00:00:00 2001 From: Sam Clegg Date: Thu, 16 Nov 2017 16:26:18 -0800 Subject: [PATCH] [WebAssembly] Add -Wno-empty-body to wasm build (#24) This is needed to suppress new llvm warnings --- libc.py | 1 + 1 file changed, 1 insertion(+) diff --git a/libc.py b/libc.py index 6e5893cb..b792555c 100755 --- a/libc.py +++ b/libc.py @@ -41,6 +41,7 @@ WEAK_BLACKLIST = [ CFLAGS = ['-std=c99', '-D_XOPEN_SOURCE=700', '-Werror', + '-Wno-empty-body', '-Wno-incompatible-library-redeclaration', '-Wno-shift-op-parentheses', '-Wno-tautological-unsigned-zero-compare',