From 41584782795cc6cd664ea8d742419323f621efe2 Mon Sep 17 00:00:00 2001 From: Jon Mason Date: Mon, 7 Mar 2022 16:44:39 -0500 Subject: [PATCH] arm-bsp/gem5: ignore compiler warnings Compiler warnings for array-bounds and type-limits are causing the builds to break. Since they are not normally fatal, ignore them for now. Signed-off-by: Jon Mason --- meta-arm-bsp/recipes-devtools/gem5/gem5-aarch64-native_20.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-arm-bsp/recipes-devtools/gem5/gem5-aarch64-native_20.bb b/meta-arm-bsp/recipes-devtools/gem5/gem5-aarch64-native_20.bb index 101e6ef5..290385eb 100644 --- a/meta-arm-bsp/recipes-devtools/gem5/gem5-aarch64-native_20.bb +++ b/meta-arm-bsp/recipes-devtools/gem5/gem5-aarch64-native_20.bb @@ -21,7 +21,7 @@ require gem5-aarch64-native.inc require gem5-native.inc # Get rid of compiler errors when building protobuf -GEM5_SCONS_ARGS_append = " CCFLAGS_EXTRA='-Wno-error=unused-variable' --verbose" +GEM5_SCONS_ARGS_append = " CCFLAGS_EXTRA='-Wno-error=unused-variable -Wno-error=array-bounds -Wno-error=type-limits' --verbose" # Get rid of linker errors and have a faster link process GEM5_SCONS_ARGS_append = " LDFLAGS_EXTRA='${BUILD_LDFLAGS}' \