diff --git a/meta-oniro-core/recipes-extended/zip/zip_%.bbappend b/meta-oniro-core/recipes-extended/zip/zip_%.bbappend index d064d4997264e62b1d91a2171496472477b5fa1b..02f58f43f11e281502b2b4791e927e72aa49384f 100644 --- a/meta-oniro-core/recipes-extended/zip/zip_%.bbappend +++ b/meta-oniro-core/recipes-extended/zip/zip_%.bbappend @@ -9,4 +9,4 @@ # -Werror=format-nonliteral globally in OPTIMIZE_FOR=security mode # while keeping zip building. -TARGET_CFLAGS_remove = "-Werror=format-nonliteral" +TARGET_CFLAGS:remove = "-Werror=format-nonliteral"