Julius Werner has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/59814 )
Change subject: tests: Disable -Wsource-mgr for clang ......................................................................
tests: Disable -Wsource-mgr for clang
Unit tests fail on clang with a cryptic
error: _timestamp_size changed binding to STB_WEAK [-Werror,-Wsource-mgr]
Probably something related to the weird things we do to mock memlayout areas. Too lazy to track it down. Let's just disable this (clang-specific, not properly documented) warning flag.
Signed-off-by: Julius Werner jwerner@chromium.org Change-Id: Ie49c9eef3c74592c068c899c6717621dbcb9f609 --- M tests/Makefile.inc 1 file changed, 2 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/14/59814/1
diff --git a/tests/Makefile.inc b/tests/Makefile.inc index 7a7ab1d..624b8f6 100644 --- a/tests/Makefile.inc +++ b/tests/Makefile.inc @@ -44,7 +44,8 @@ # -Wmissing-prototypes just make working with the test framework cumbersome. # Only put conservative warnings here that really detect code that's obviously # unintentional. -TEST_CFLAGS += -Wall -Werror -Wundef -Wstrict-prototypes -Wno-inline-asm +TEST_CFLAGS += -Wall -Werror -Wundef -Wstrict-prototypes -Wno-inline-asm \ + -Wno-source-mgr
# Path for Kconfig autoheader TEST_CFLAGS += -I$(dir $(TEST_KCONFIG_AUTOHEADER))