diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-10-23 17:53:40 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-10-23 17:54:12 -0700 |
commit | 6d125fcc3e6ca573a337b7a5a0897cdc0a638f3c (patch) | |
tree | 87ab153ba54584d5c4a6e89996583165d5161fb7 | |
parent | bb8e9132fec76a7bfcc8e135ff4c1620971f430f (diff) |
emit emscripten version in emcc -v
-rwxr-xr-x | emcc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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): |