Pass -Wno-unused-variable when building binaryen during CI (#938)

See https://github.com/emscripten-core/emsdk/pull/936
See https://github.com/WebAssembly/binaryen/issues/4353
This commit is contained in:
Sam Clegg
2021-11-22 12:41:06 -08:00
committed by GitHub
parent d8a1fd7099
commit 2ec227afbe

View File

@@ -28,6 +28,11 @@ jobs:
executor: bionic
environment:
EMSDK_NOTTY: "1"
# This is needed because the old gcc-7 that is installed on debian/bionic
# generates warnings about unused variables when doing C++17
# destructuring:
# https://github.com/WebAssembly/binaryen/issues/4353
CXXFLAGS: "-Wno-unused-variable"
# I don't know why circleci VMs pretent to have 36 cores but its a lie.
EMSDK_NUM_CORES: "4"
steps: