Hello build bot (Jenkins), Jakub Czapiga,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/59815
to look at the new patch set (#2).
Change subject: tests: Disable -Wmain-return-type for clang ......................................................................
tests: Disable -Wmain-return-type for clang
Unit tests fail on clang because Cmocka's main() function is declared with return type int, but through some of our chain-include games it sometimes gets coreboot's main_decl.h which declares the function as void. Compilers have traditionally always been very laissez-faire about the signature of the main function, but it seems that clang has been getting more strict by default recently. Explicitly disable the related warning to shut it up.
Signed-off-by: Julius Werner jwerner@chromium.org Change-Id: I867c9dac659be86e7b7cf4cc41d6fa105aa9ac41 --- M payloads/libpayload/tests/Makefile.inc M tests/Makefile.inc 2 files changed, 2 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/15/59815/2