aboutsummaryrefslogtreecommitdiff
path: root/emcc
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-10-23 17:53:40 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-10-23 17:54:12 -0700
commit6d125fcc3e6ca573a337b7a5a0897cdc0a638f3c (patch)
tree87ab153ba54584d5c4a6e89996583165d5161fb7 /emcc
parentbb8e9132fec76a7bfcc8e135ff4c1620971f430f (diff)
emit emscripten version in emcc -v
Diffstat (limited to 'emcc')
-rwxr-xr-xemcc2
1 files changed, 1 insertions, 1 deletions
diff --git a/emcc b/emcc
index 4222caa3..5b79b411 100755
--- a/emcc
+++ b/emcc
@@ -542,7 +542,7 @@ There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR P
exit(0)
elif len(sys.argv) == 2 and sys.argv[1] == '-v': # -v with no inputs
- print 'emcc (Emscripten GCC-like replacement + linker emulating GNU ld ) 2.0'
+ print 'emcc (Emscripten GCC-like replacement + linker emulating GNU ld ) %s' % shared.EMSCRIPTEN_VERSION
exit(subprocess.call([shared.CLANG, '-v']))
def is_minus_s_for_emcc(newargs,i):