diff --git a/meta-oniro-core/recipes-core/libxml/libxml2_%.bbappend b/meta-oniro-core/recipes-core/libxml/libxml2_%.bbappend index 9c2b6fd14d3a780fe0e8af60851ef7c51ff5f1eb..3bef187678dcaf7d262e2e3687886d3f3e6fb9d9 100644 --- a/meta-oniro-core/recipes-core/libxml/libxml2_%.bbappend +++ b/meta-oniro-core/recipes-core/libxml/libxml2_%.bbappend @@ -8,4 +8,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"