You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# If not compiling to JS, then we are compiling to an intermediate bitcode objects or library, so
957
989
# ignore dynamic linking, since multiple dynamic linkings can interfere with each other
@@ -1015,6 +1047,15 @@ def check(input_file):
1015
1047
ifshared.get_llvm_target() ==shared.WASM_TARGET:
1016
1048
shared.Settings.WASM_BACKEND=1
1017
1049
1050
+
ifnotshared.Settings.STRICT:
1051
+
# The preprocessor define EMSCRIPTEN is deprecated. Don't pass it to code in strict mode. Code should use the define __EMSCRIPTEN__ instead.
1052
+
shared.COMPILER_OPTS+= ['-DEMSCRIPTEN']
1053
+
1054
+
# The system include path system/include/emscripten/ is deprecated, i.e. instead of #include <emscripten.h>, one should pass in #include <emscripten/emscripten.h>.
1055
+
# This path is not available in Emscripten strict mode.
0 commit comments