diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-01-10 16:15:50 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-01-10 16:15:50 -0800 |
commit | d233c379208c40e0721eceec852182914b26a549 (patch) | |
tree | c031784ea0b5af8b86eca394143cb0d4b490e82b /emcc | |
parent | ed77c3ec7a28b8015f69340330de82b62aeac4a8 (diff) |
export memcpy in asm mode so non-asm library functions can use it
Diffstat (limited to 'emcc')
-rwxr-xr-x | emcc | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1114,6 +1114,9 @@ try: next = final + '.postrinsics.bc' shared.Building.link([final, memcpy], next) final = next + if shared.Settings.ASM_JS: # export it so other library functions etc. can use it + if '_memcpy' not in shared.Settings.EXPORTED_FUNCTIONS: + shared.Settings.EXPORTED_FUNCTIONS.append('_memcpy') if DEBUG: save_intermediate('postrinsics', 'bc') # Prepare .ll for Emscripten |