improve debug logging of emcc invocation
This commit is contained in:
Родитель
422d65dc06
Коммит
9ce739dbab
3
emcc
3
emcc
|
@ -95,7 +95,8 @@ AUTODEBUG = os.environ.get('EMCC_AUTODEBUG') # If set to 1, we will run the auto
|
|||
# dlmalloc makes it hard to compare native and js builds
|
||||
EMCC_CFLAGS = os.environ.get('EMCC_CFLAGS') # Additional compiler flags that we treat as if they were passed to us on the commandline
|
||||
|
||||
logging.debug('invocation: ' + ' '.join(sys.argv) + (' + ' + EMCC_CFLAGS if EMCC_CFLAGS else ''))
|
||||
if DEBUG: logging.warning('invocation: ' + ' '.join(sys.argv) + (' + ' + EMCC_CFLAGS if EMCC_CFLAGS else ''))
|
||||
|
||||
if EMCC_CFLAGS: sys.argv.append(EMCC_CFLAGS)
|
||||
|
||||
if DEBUG and LEAVE_INPUTS_RAW: logging.warning('leaving inputs raw')
|
||||
|
|
Загрузка…
Ссылка в новой задаче