emit emscripten version in emcc -v

This commit is contained in:
Alon Zakai 2013-10-23 17:53:40 -07:00
Родитель bb8e9132fe
Коммит 6d125fcc3e
1 изменённых файлов: 1 добавлений и 1 удалений

2
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):