summary refs log tree commit diff
path: root/platforms/avr
diff options
context:
space:
mode:
authorStefan Kerkmann <karlk90@pm.me>2022-07-07 09:27:50 +0200
committerGitHub <noreply@github.com>2022-07-07 09:27:50 +0200
commitd9bb189e25f14578ca74d6a3aa9f9a467f6f6595 (patch)
tree477e632a31b6d5eddb5912da72bb9541eaaa1302 /platforms/avr
parent8f086faf8ae919997b42c9842cac10b144bc62b4 (diff)
[Core] Update mpaland/printf to eyalroz/printf fork (#16163)
mpaland printf implementation was abandoned in ~2019 and the fork by
eyalroz is now regarded to be the goto replacement of it. So this commit
incoporates the changes needed to use this fork in QMK.

Note that pointer ptrdiff_t is always supported since commit
51c90f93a97fdaef895783ecbe24569be0db7cb8
Diffstat (limited to 'platforms/avr')
-rw-r--r--platforms/avr/platform.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/platforms/avr/platform.mk b/platforms/avr/platform.mk
index b51a94c93a..39a11b28e4 100644
--- a/platforms/avr/platform.mk
+++ b/platforms/avr/platform.mk
@@ -24,6 +24,7 @@ COMPILEFLAGS += -fdata-sections
 COMPILEFLAGS += -fpack-struct
 COMPILEFLAGS += -fshort-enums
 COMPILEFLAGS += -mcall-prologues
+COMPILEFLAGS += -fno-builtin-printf
 
 # Linker relaxation is only possible if
 # link time optimizations are not enabled.