diff --git a/usr/lib/emscripten/tools/shared.py b/usr/lib/emscripten/tools/shared.py index a5415ae..8e6d989 100644 --- a/usr/lib/emscripten/tools/shared.py +++ b/usr/lib/emscripten/tools/shared.py @@ -291,7 +291,7 @@ CLANG_ADD_VERSION = None CLOSURE_COMPILER = None EMSCRIPTEN_NATIVE_OPTIMIZER = None JAVA = None -JS_ENGINES = [] +JS_ENGINES = ['node'] COMPILER_OPTS = [] FROZEN_CACHE = False diff --git a/usr/lib/emscripten/tools/system_libs.py b/usr/lib/emscripten/tools/system_libs.py index 81bd6d1..bb2a297 100755 --- a/usr/lib/emscripten/tools/system_libs.py +++ b/usr/lib/emscripten/tools/system_libs.py @@ -47,7 +47,7 @@ def get_cflags(force_object_files=False): if shared.Settings.WASM_BACKEND: # musl, compiler-rt, etc use ints in bool contexts in many places, like # (x << 10) ? y : z - flags += ['-Wno-int-in-bool-context'] + pass return flags @@ -217,7 +217,7 @@ class Library(object): # A list of flags to pass to emcc. # The flags for the parent class is automatically inherited. - cflags = ['-Werror'] + cflags = [] # A list of directories to put in the include path when building. # This is a list of tuples of path components. @@ -733,6 +733,9 @@ class libcxxabi(CXXLibrary, MTLibrary, NoExceptLibrary): name = 'libc++abi' depends = ['libc'] cflags = ['-std=c++11', '-Oz', '-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS'] + includes = [ + ['system', 'lib', 'libunwind', 'include'], + ] def get_cflags(self): cflags = super(libcxxabi, self).get_cflags()