Skip to content
Commit 0f692f5b authored by Keith Packard's avatar Keith Packard Committed by Fabio Baltieri
Browse files

compiler/clang: ignore main-return-type warning for clang



Unlike gcc, clang splits out the flag controlling warnings about the return
type of `main' from other warnings related to that function. Add the extra
-Wno-main-return-type flag to mask these warnings when building Zephyr
without -ffreestanding, as when using picolibc.

Signed-off-by: default avatarKeith Packard <keithp@keithp.com>
parent e79fee7a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment