From 39db822d4e4428a2bfc88370d50567d0c9777968 Mon Sep 17 00:00:00 2001 From: Justin Kerk Date: Wed, 13 Mar 2024 11:04:01 -0700 Subject: Fix compile error in 3rdparty/asio with newer Emscripten versions (#12098) --- scripts/genie.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/genie.lua b/scripts/genie.lua index 3a6a2bfd38b..961b22a90b0 100644 --- a/scripts/genie.lua +++ b/scripts/genie.lua @@ -1173,6 +1173,9 @@ configuration { "asmjs" } "-std=c++17", "-s EXCEPTION_CATCHING_ALLOWED=\"['_ZN15running_machine17start_all_devicesEv','_ZN12cli_frontend7executeEiPPc','_ZN8chd_file11open_commonEb','_ZN8chd_file13read_metadataEjjRNSt3__212basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE','_ZN8chd_file13read_metadataEjjRNSt3__26vectorIhNS0_9allocatorIhEEEE','_ZNK19netlist_mame_device19base_validity_checkER16validity_checker']\"", } + defines { + "ASIO_DISABLE_THREADS", + } linkoptions { "-Wl,--start-group", "-O" .. _OPTIONS["OPTIMIZE"], -- cgit v1.2.3