aboutsummaryrefslogtreecommitdiff
path: root/emcc
diff options
context:
space:
mode:
authorMarcos Scriven <marcosscriven@ubuntu32.(none)>2013-09-29 18:41:01 +0100
committerMarcos Scriven <marcosscriven@ubuntu32.(none)>2013-09-29 18:41:01 +0100
commit20e5ea84989c2468d8b83d1d8eabe8d1a61cc806 (patch)
treef130f29f4820d1b1798f6ef53688b922d72a5807 /emcc
parent51256ab4452f9b1aa3774ef2eece26faa652ab22 (diff)
Debug statement fails when using specific LLVM opts rather than an integer level
Diffstat (limited to 'emcc')
-rwxr-xr-xemcc2
1 files changed, 1 insertions, 1 deletions
diff --git a/emcc b/emcc
index c528fb9e..83b5df09 100755
--- a/emcc
+++ b/emcc
@@ -1214,7 +1214,7 @@ try:
file_suffix = filename_type_suffix(input_file)
if file_suffix.endswith(SOURCE_SUFFIXES):
temp_file = temp_files[i]
- logging.debug('optimizing %s with -O%d' % (input_file, llvm_opts))
+ logging.debug('optimizing %s with -O%s' % (input_file, llvm_opts))
shared.Building.llvm_opt(temp_file, llvm_opts)
# If we were just asked to generate bitcode, stop there