diff options
author | Alon Zakai <alonzakai@gmail.com> | 2011-09-24 18:21:58 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2011-09-24 18:21:58 -0700 |
commit | 2f11f2e15392069a3c4a72fef2358fbf722b4e0e (patch) | |
tree | 7aadb70939ccfa84575b44e0ee714d891666efc7 /emscripten.py | |
parent | ec318d92f2c5f645eab561efc461941405071131 (diff) |
start to include system headers (tests broken)
Diffstat (limited to 'emscripten.py')
-rwxr-xr-x | emscripten.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/emscripten.py b/emscripten.py index 40a09904..ecfb04fc 100755 --- a/emscripten.py +++ b/emscripten.py @@ -101,7 +101,7 @@ def compile_malloc(): """ src = path_from_root('src', 'dlmalloc.c') includes = '-I' + path_from_root('src', 'include') - command = [shared.CLANG, '-c', '-g', '-emit-llvm', '-m32'] + shared.COMPILER_OPTS + ['-o-', includes, src] + command = [shared.CLANG, '-c', '-g', '-emit-llvm'] + shared.COMPILER_OPTS + ['-o-', includes, src] with get_temp_file('.bc') as out: ret = subprocess.call(command, stdout=out) if ret != 0: raise RuntimeError('Could not compile dlmalloc.') return out.name |