Merge pull request #468 from google/restore_ie_compat

Restore IE support.
This commit is contained in:
Tom Finegan 2018-09-26 09:21:16 -07:00 committed by GitHub
commit e9337d1faa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -653,6 +653,9 @@ if (EMSCRIPTEN AND ENABLE_JS_GLUE)
else () else ()
require_compiler_flag("-s ELIMINATE_DUPLICATE_FUNCTIONS=1" YES) require_compiler_flag("-s ELIMINATE_DUPLICATE_FUNCTIONS=1" YES)
endif () endif ()
if (IE_COMPATIBLE)
require_compiler_flag("-s LEGACY_VM_SUPPORT=1" YES)
endif ()
if (CMAKE_BUILD_TYPE STREQUAL "") if (CMAKE_BUILD_TYPE STREQUAL "")
# Force -O3 when no build type is specified. # Force -O3 when no build type is specified.