Skip to content

Commit 5822903

Browse files
Qinghao ShiQinghao Shi
authored andcommitted
update lto profile including printf wrap functions
1 parent 8392613 commit 5822903

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/profiles/extensions/lto.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55
},
66
"GCC_ARM": {
77
"common": ["-flto"],
8-
"ld": ["-u main"]
8+
"ld": ["-u main", "-u __wrap_printf", "-u __wrap_sprintf", "-u __wrap_snprintf", "-u __wrap_vprintf", "-u __wrap_vsprintf", "-u __wrap_vsnprintf", "-u __wrap_fprintf", "-u __wrap_vfprintf"]
99
}
1010
}

0 commit comments

Comments
 (0)