diff --git a/meta-oniro-core/recipes-devtools/make/make_%.bbappend b/meta-oniro-core/recipes-devtools/make/make_%.bbappend index c6c865098f5dc2ae702d087550011c48f3eed67c..f677cd5e643b3cf5387ba55772786bcc5ab8f26a 100644 --- a/meta-oniro-core/recipes-devtools/make/make_%.bbappend +++ b/meta-oniro-core/recipes-devtools/make/make_%.bbappend @@ -8,4 +8,4 @@ # -Werror=format-nonliteral globally in OPTIMIZE_FOR=security mode # while keeping make building. -TARGET_CFLAGS_remove = "-Werror=format-nonliteral" +TARGET_CFLAGS:remove = "-Werror=format-nonliteral"