Skip to content

Commit e9337d1

Browse files
authored
Merge pull request #468 from google/restore_ie_compat
Restore IE support.
2 parents eee8bf5 + 9648d72 commit e9337d1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -653,6 +653,9 @@ if (EMSCRIPTEN AND ENABLE_JS_GLUE)
653653
else ()
654654
require_compiler_flag("-s ELIMINATE_DUPLICATE_FUNCTIONS=1" YES)
655655
endif ()
656+
if (IE_COMPATIBLE)
657+
require_compiler_flag("-s LEGACY_VM_SUPPORT=1" YES)
658+
endif ()
656659

657660
if (CMAKE_BUILD_TYPE STREQUAL "")
658661
# Force -O3 when no build type is specified.

0 commit comments

Comments
 (0)