Skip to contentSkip to conversation

arm-bsp/gem5: ignore compiler warnings on aarch64

PATCH New Jon Mason 1 participant 1 message Mar 9, 2022

lore
Share & tools
lore

Jon Mason

author
#0 lore raw

PATCH 1/1 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.

---
 meta-arm-bsp/recipes-devtools/gem5/gem5-aarch64-native_20.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-arm-bsp/recipes-devtools/gem5/gem5-aarch64-native_20.bb +1 -1
index 290385e..860000d 100644
@@ -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}' \
Signature · 1 line
2.17.1