From ce09542f7240014bff487d91921d1393b163a617 Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Thu, 26 Apr 2012 11:41:50 -0700 Subject: [PATCH] -v in emcc --- emcc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/emcc b/emcc index 2874741ad..c26364387 100755 --- a/emcc +++ b/emcc @@ -272,6 +272,10 @@ Options that are modified or new in %s include: --js-library 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 ), 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]