summaryrefslogtreecommitdiff
path: root/src/cpu/qemu-power8/qemu.c
diff options
context:
space:
mode:
authorJulius Werner <jwerner@chromium.org>2021-12-01 13:52:25 -0800
committerJulius Werner <jwerner@chromium.org>2021-12-07 17:47:35 +0000
commitc90d406008c2bd0b947a11530218c0652fd63b55 (patch)
treec726bc65eaaceabd6fbc1c6a7c2f03b3b6cc121b /src/cpu/qemu-power8/qemu.c
parent3332c2dc6e1149b7ea4ce93244177ea2abf13349 (diff)
tests: Disable -Wmain-return-type for clang
Unit tests fail on clang 13.0 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/59815 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Jakub Czapiga <jacz@semihalf.com>
Diffstat (limited to 'src/cpu/qemu-power8/qemu.c')
0 files changed, 0 insertions, 0 deletions