diff --git a/meta-oniro-core/recipes-bsp/grub/grub-efi_%.bbappend b/meta-oniro-core/recipes-bsp/grub/grub-efi_%.bbappend index b9147ff3ad52958e8c9caa3976d7357b8b42b8c8..1a81aa1963bf06153b3d310a7a56cba5e6f4cf97 100644 --- a/meta-oniro-core/recipes-bsp/grub/grub-efi_%.bbappend +++ b/meta-oniro-core/recipes-bsp/grub/grub-efi_%.bbappend @@ -9,4 +9,4 @@ # Removing -Werror=array-bounds here allows us to use -Werror=array-bounds # globally in OPTIMIZE_FOR=security mode. -TARGET_CFLAGS_remove = "-Werror=array-bounds" +TARGET_CFLAGS:remove = "-Werror=array-bounds"