Skip to content

Commit 62cac3b

Browse files
authored
Merge pull request #12712 from jamesbeyond/lto-printf
Fix LTO issue with minimal-printf
2 parents 6678efe + 5822903 commit 62cac3b

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)