aboutsummaryrefslogtreecommitdiff
path: root/emcc
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-04-17 11:08:51 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-04-17 11:12:38 -0700
commit2be92943d135dd4beb12c394c921eaaa26f98cc5 (patch)
treef49cca0beb4fd4a9f0840043b16f27f05b5296bb /emcc
parentd66573c7e8becabf5acfb72cd3e65fedf1b56b3b (diff)
enable asm in -O1 and prepare to add testing
Diffstat (limited to 'emcc')
-rwxr-xr-xemcc2
1 files changed, 1 insertions, 1 deletions
diff --git a/emcc b/emcc
index 7edc71e4..e25d9d91 100755
--- a/emcc
+++ b/emcc
@@ -1002,7 +1002,7 @@ try:
# Apply effects from settings
if shared.Settings.ASM_JS:
- assert opt_level == 2, 'asm.js requires -O2'
+ assert opt_level >= 1, 'asm.js requires -O1 or above'
if closure:
print >> sys.stderr, 'emcc: warning: disabling closure because it is not compatible with asm.js code generation'