Skip to content

Commit 857bdf9

Browse files
authored
Fix comment in gen_struct_info.py (#18103)
The optimization option was changed from `-Oz` to `-O0` due to `iprintf` calls in #8348.
1 parent 96a452e commit 857bdf9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/gen_struct_info.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ def inspect_headers(headers, cflags):
261261
else:
262262
compiler = shared.EMCC
263263

264-
# -Oz optimizes enough to avoid warnings on code size/num locals
264+
# -O1+ produces calls to iprintf, which libcompiler_rt doesn't support
265265
cmd = [compiler] + cflags + ['-o', js_file[1], src_file[1],
266266
'-O0',
267267
'-Werror',

0 commit comments

Comments
 (0)