Skip to content

Commit ace2ac9

Browse files
committed
fix
1 parent 5a9a669 commit ace2ac9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

emscripten.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2414,7 +2414,7 @@ def create_asm_consts_wasm(forwarded_json, metadata):
24142414
', code, sigPtr, argbuf); }')
24152415

24162416
if shared.Settings.RELOCATABLE:
2417-
preamble += '\n code -= %s;\n' % (shared.Settings.GLOBAL_BASE, shared.Settings.GLOBAL_BASE)
2417+
preamble += '\n code -= %s;\n' % shared.Settings.GLOBAL_BASE
24182418

24192419
asm_const_funcs.append(r'''
24202420
function %s(code, sigPtr, argbuf) {%s

0 commit comments

Comments
 (0)