From d21ded082c27959c8d617fd18da60b236d2ec62b Mon Sep 17 00:00:00 2001 From: Jon Mason Date: Wed, 9 Mar 2022 11:24:03 -0500 Subject: [PATCH] arm-bsp/gem5: ignore compiler warnings on aarch64 Some errors/warnings were still being seen on aarch64 builders. Disable the relevant GCC options to work around the issue. 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 290385eb..860000d6 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 -Wno-error=array-bounds -Wno-error=type-limits' --verbose" +GEM5_SCONS_ARGS_append = " CCFLAGS_EXTRA='-Wno-error=unused-variable -Wno-error=array-bounds -Wno-error=parentheses -Wno-type-limits' --verbose" # Get rid of linker errors and have a faster link process GEM5_SCONS_ARGS_append = " LDFLAGS_EXTRA='${BUILD_LDFLAGS}' \