diff options
author | Alon Zakai <alonzakai@gmail.com> | 2011-09-23 17:20:42 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2011-09-23 17:23:22 -0700 |
commit | 8643df88d3b7484156caa9ab9378affbfeb895dc (patch) | |
tree | 35b2bef570d0d226bdfca0df9f48dc05257afc59 /emscripten.py | |
parent | b6acbeca0d57fd24fc140552daefffe15defb009 (diff) |
harmonize use of COMPILER_ARGS
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 21abcc1d..40a09904 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', '-o-', includes, src] + command = [shared.CLANG, '-c', '-g', '-emit-llvm', '-m32'] + 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 |