Merge pull request #12712 from jamesbeyond/lto-printf

Fix LTO issue with minimal-printf
pull/12743/head
Martin Kojtal 2020-04-01 12:22:52 +02:00 committed by GitHub
commit 62cac3b640
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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"]
}
}