diff options
author | Bruce Mitchener <bruce.mitchener@gmail.com> | 2013-09-13 11:08:12 +0700 |
---|---|---|
committer | Bruce Mitchener <bruce.mitchener@gmail.com> | 2013-09-13 13:37:20 +0700 |
commit | 5404c47c1e715d8710bf0aac6889037b164691d5 (patch) | |
tree | fd6c08be44656f9664789c7e24ffa5d7dcfaa2fb | |
parent | 27d496610e0ef93c9805a6a1a77de3f053405c6b (diff) |
Fix using emcc -E.
We don't want to pass this extra flag to emcc as it breaks when
doing EMCONFIGURE_JS=1 emconfigure ./configure ...
-rwxr-xr-x | emcc | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -556,6 +556,8 @@ if CONFIGURE_CONFIG or CMAKE_CONFIG: elif arg.endswith('.s'): if debug_configure: open(tempout, 'a').write('(compiling .s assembly, must use clang\n') use_js = 0 + elif arg == '-E': + use_js = 0 if src: if 'fopen' in src and '"w"' in src: |