aboutsummaryrefslogtreecommitdiff
path: root/emcc
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2014-02-25 21:48:03 -0800
committerAlon Zakai <alonzakai@gmail.com>2014-02-25 21:48:03 -0800
commite2d05d569d7848d15ddd956e5c456d81f7bf9292 (patch)
tree69bc9128749ce9bdcd76382d3242fe57bc001ccc /emcc
parent52e38c266a9fd5726533adc1cc73e201cf69bcd1 (diff)
run sanity checks on emcc -v even without inputs
Diffstat (limited to 'emcc')
-rwxr-xr-xemcc1
1 files changed, 1 insertions, 0 deletions
diff --git a/emcc b/emcc
index 91da32f3..8d840074 100755
--- a/emcc
+++ b/emcc
@@ -528,6 +528,7 @@ There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR P
elif len(sys.argv) == 2 and sys.argv[1] == '-v': # -v with no inputs
print 'emcc (Emscripten GCC-like replacement + linker emulating GNU ld ) %s' % shared.EMSCRIPTEN_VERSION
+ shared.check_sanity(force=True)
exit(subprocess.call([shared.CLANG, '-v']))
def is_minus_s_for_emcc(newargs, i):