Skip to content

Commit

Permalink
Pass -fno-builtin-printf, too
Browse files Browse the repository at this point in the history
Otherwise, for example, building our network stack's MQTT compartment
with debugging will get some of its printf()s replaced with putchar()
and puts(), which we don't have.
  • Loading branch information
nwf committed Feb 20, 2025
1 parent 537c31e commit d1c2275
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sdk/xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ toolchain("cheriot-clang")
"-fomit-frame-pointer",
"-fno-builtin-setjmp",
"-fno-builtin-longjmp",
"-fno-builtin-printf",
"-fno-exceptions",
"-fno-asynchronous-unwind-tables",
"-fno-c++-static-destructors",
Expand Down

0 comments on commit d1c2275

Please sign in to comment.