summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJulius Werner <jwerner@chromium.org>2021-02-16 19:32:24 -0800
committerJulius Werner <jwerner@chromium.org>2021-02-17 23:10:15 +0000
commite54d784d02a59f8266e7898c34a05f00893cdc77 (patch)
treec95cb9fb1c34659da194e4b45d4ae37b067fe63e /tests
parent9e74c42b1f76604da0c904b4e9e860e31330da0e (diff)
downloadcoreboot-e54d784d02a59f8266e7898c34a05f00893cdc77.tar.xz
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 <jwerner@chromium.org> Change-Id: If1d88ed0bb2d10acfadcf8dec74fa3d227e0f790 Reviewed-on: https://review.coreboot.org/c/coreboot/+/50825 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Jan Dabros <jsd@semihalf.com> Reviewed-by: Paul Fagerburg <pfagerburg@chromium.org>
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile.inc2
1 files changed, 1 insertions, 1 deletions
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))