From b3d8e4c2a7973792d98fd3f0790684a127a29d1c Mon Sep 17 00:00:00 2001 From: Michael Droettboom Date: Tue, 24 Jul 2018 12:53:17 -0400 Subject: [PATCH] Add another symbol to force inclusion of C++ exceptions --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 220a2328f..4094398ec 100644 --- a/Makefile +++ b/Makefile @@ -25,7 +25,7 @@ LDFLAGS=\ -s MAIN_MODULE=1 \ -s EMULATED_FUNCTION_POINTERS=1 \ -s EMULATE_FUNCTION_POINTER_CASTS=1 \ - -s EXPORTED_FUNCTIONS='["_main", "__ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv"]' \ + -s EXPORTED_FUNCTIONS='["_main", "__ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv", "__ZNSt11logic_errorC2EPKc"]' \ -s WASM=1 \ -s SWAPPABLE_ASM_MODULE=1 \ -s USE_FREETYPE=1 \