update lto profile including printf wrap functions

pull/12712/head
Qinghao Shi 2020-03-29 20:55:08 +01:00
parent 83926138aa
commit 5822903992
1 changed files with 1 additions and 1 deletions

View File

@ -5,6 +5,6 @@
},
"GCC_ARM": {
"common": ["-flto"],
"ld": ["-u main"]
"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"]
}
}