diff options
author | Daniel Wirtz <dcode@dcode.io> | 2019-12-04 02:29:49 +0100 |
---|---|---|
committer | Alon Zakai <azakai@google.com> | 2019-12-03 17:29:49 -0800 |
commit | 9cbe295d20dd8bf625e16f26953cb19d35c6daee (patch) | |
tree | bc7b1c34699fe81f1598f356793c547b34362cf6 /src | |
parent | b7f75aba59123eca79774d096524079f635cadbd (diff) | |
download | binaryen-9cbe295d20dd8bf625e16f26953cb19d35c6daee.tar.gz binaryen-9cbe295d20dd8bf625e16f26953cb19d35c6daee.tar.bz2 binaryen-9cbe295d20dd8bf625e16f26953cb19d35c6daee.zip |
Fix error when building wasm-opt.js with latest-fastcomp (#2494)
With #2483 merged, emcc hits the following warning when attempting to compile wasm-opt to JS with Emsdk:latest-fastcomp:
shared:WARNING: for wasm there is no need to set ELIMINATE_DUPLICATE_FUNCTIONS, the binaryen optimizer does it automatically
shared:ERROR: treating warnings as errors (-Werror)
Appears this happens because ELIMINATE_DUPLICATE_FUNCTIONS is set for all targets when using fastcomp, even though only binaryen_js uses WASM=0. So this PR moves it into the binaryen_js target.
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions