diff --git a/CMakeLists.txt b/CMakeLists.txt index 7948cbf..67219e7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -674,8 +674,6 @@ if(EMSCRIPTEN AND ENABLE_JS_GLUE) require_compiler_flag("-s PRECISE_F32=1" YES) if(ENABLE_WASM) require_compiler_flag("-s WASM=1" YES) - else() - require_compiler_flag("-s ELIMINATE_DUPLICATE_FUNCTIONS=1" YES) endif() if(IE_COMPATIBLE) require_compiler_flag("-s LEGACY_VM_SUPPORT=1" YES)