diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-04-26 11:41:50 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-04-26 11:41:50 -0700 |
commit | ce09542f7240014bff487d91921d1393b163a617 (patch) | |
tree | 83053c7e435e3e240dba1fbcf5ce64eb504d6026 /emcc | |
parent | 97af2a4d3287d6fb2bde716459ab63e4a7934427 (diff) |
-v in emcc
Diffstat (limited to 'emcc')
-rwxr-xr-x | emcc | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -272,6 +272,10 @@ Options that are modified or new in %s include: --js-library <lib> A JavaScript library to use in addition to those in Emscripten's src/library_* + -v Turns on verbose output. This will pass + -v to Clang, and also enable EMCC_DEBUG + to details emcc's operations + The target file, if specified (-o <target>), defines what will be generated: @@ -513,6 +517,10 @@ try: elif newargs[i] == '--ignore-dynamic-linking': ignore_dynamic_linking = True newargs[i] = '' + elif newargs[i] == '-v': + shared.COMPILER_OPTS += ['-v'] + DEBUG = 1 + newargs[i] = '' elif newargs[i].startswith('--shell-file'): check_bad_eq(newargs[i]) shell_path = newargs[i+1] |