From e54d784d02a59f8266e7898c34a05f00893cdc77 Mon Sep 17 00:00:00 2001 From: Julius Werner Date: Tue, 16 Feb 2021 19:32:24 -0800 Subject: tests: Build tests with -Wno-inline-asm Clang doesn't seem to get along with some of the symbol magic we use for memlayout and throws -Winline-asm warnings. Since we want to be compatible with as many host compilers as possible (within reason), let's disable that warning. Signed-off-by: Julius Werner Change-Id: If1d88ed0bb2d10acfadcf8dec74fa3d227e0f790 Reviewed-on: https://review.coreboot.org/c/coreboot/+/50825 Tested-by: build bot (Jenkins) Reviewed-by: Jan Dabros Reviewed-by: Paul Fagerburg --- tests/Makefile.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/Makefile.inc') diff --git a/tests/Makefile.inc b/tests/Makefile.inc index 53c0edf2a5..56d557879e 100644 --- a/tests/Makefile.inc +++ b/tests/Makefile.inc @@ -32,7 +32,7 @@ TEST_CFLAGS += -I$(src)/include -I$(src)/commonlib/include \ # -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 +TEST_CFLAGS += -Wall -Werror -Wundef -Wstrict-prototypes -Wno-inline-asm # Path for Kconfig autoheader TEST_CFLAGS += -I$(dir $(TEST_KCONFIG_AUTOHEADER)) -- cgit v1.2.3