aboutsummaryrefslogtreecommitdiff
path: root/emcc
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-09-13 10:37:22 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-09-13 10:37:22 -0700
commit08af46501f9da4afa1debdd23ab612cb9abb0483 (patch)
tree294618e4210c6ea30c9a0f8c02599fdd7ce8a428 /emcc
parent7a631bba3554be9825fd48e8d0886bc61ab1f9af (diff)
parent5404c47c1e715d8710bf0aac6889037b164691d5 (diff)
Merge pull request #1615 from waywardmonkeys/fix-preprocessor-usage
Fix using emcc -E.
Diffstat (limited to 'emcc')
-rwxr-xr-xemcc2
1 files changed, 2 insertions, 0 deletions
diff --git a/emcc b/emcc
index 4b4273ca..641e1d6a 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: