aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Mitchener <bruce.mitchener@gmail.com>2013-09-13 11:08:12 +0700
committerBruce Mitchener <bruce.mitchener@gmail.com>2013-09-13 13:37:20 +0700
commit5404c47c1e715d8710bf0aac6889037b164691d5 (patch)
treefd6c08be44656f9664789c7e24ffa5d7dcfaa2fb
parent27d496610e0ef93c9805a6a1a77de3f053405c6b (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-xemcc2
1 files changed, 2 insertions, 0 deletions
diff --git a/emcc b/emcc
index 4a49cc12..30146400 100755
--- a/emcc
+++ b/emcc
@@ -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: