aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2014-04-30 13:26:47 -0700
committerAlon Zakai <alonzakai@gmail.com>2014-04-30 13:26:47 -0700
commit63f913cc533e20cea584d2407de78c933d063b67 (patch)
tree7ad7f729d2325039e10d6b0ff6f0e0133b08eb61
parentd7a26a5017f38f5d4dde574fe472d7190609c51d (diff)
fix return code when precompiling headers
-rwxr-xr-xemcc2
1 files changed, 1 insertions, 1 deletions
diff --git a/emcc b/emcc
index 0be81034..b9d74713 100755
--- a/emcc
+++ b/emcc
@@ -1370,7 +1370,7 @@ try:
args += ['-o', specified_target]
logging.debug("running (for precompiled headers): " + call + ' ' + ' '.join(args))
execute([call] + args) # let compiler frontend print directly, so colors are saved (PIPE kills that)
- sys.exit(1)
+ sys.exit(0)
def get_bitcode_file(input_file):
if final_suffix not in JS_CONTAINING_SUFFIXES: