aboutsummaryrefslogtreecommitdiff
path: root/emcc
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-06-04 15:07:26 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-06-04 15:07:26 -0700
commit4535b975f8fd48bc6e7fb8dcbf3e25118f5f8b28 (patch)
treef7676e699b4b14906754016fb13b54accf65c895 /emcc
parentb389334bc771f5979a0307e1548c7b37f1218466 (diff)
do not skip -s X=Y when EMCONFIGURE_JS
Diffstat (limited to 'emcc')
-rwxr-xr-xemcc2
1 files changed, 1 insertions, 1 deletions
diff --git a/emcc b/emcc
index 9feba1b1..2a7e10d0 100755
--- a/emcc
+++ b/emcc
@@ -539,7 +539,7 @@ if CONFIGURE_CONFIG or CMAKE_CONFIG:
skip_next = False
idx += 1
continue
- if el == '-s' and is_minus_s_for_emcc(argv, idx):
+ if not use_js and el == '-s' and is_minus_s_for_emcc(argv, idx): # skip -s X=Y if not using js for configure
skip_next = True
else:
yield el