From 2e603f9d982f33e35698f5b0e6d5db81f42513ed Mon Sep 17 00:00:00 2001
From: Andrei Gherzan <andrei.gherzan@huawei.com>
Date: Thu, 9 Dec 2021 12:07:56 +0100
Subject: [PATCH] flex: Fix syntax overrides

Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
---
 meta-oniro-core/recipes-devtools/flex/flex_%.bbappend | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oniro-core/recipes-devtools/flex/flex_%.bbappend b/meta-oniro-core/recipes-devtools/flex/flex_%.bbappend
index 6896e0d7..ec651246 100644
--- a/meta-oniro-core/recipes-devtools/flex/flex_%.bbappend
+++ b/meta-oniro-core/recipes-devtools/flex/flex_%.bbappend
@@ -8,4 +8,4 @@
 # -Werror=format-nonliteral globally in OPTIMIZE_FOR=security mode
 # while keeping flex building.
 
-TARGET_CFLAGS_remove = "-Werror=format-nonliteral"
+TARGET_CFLAGS:remove = "-Werror=format-nonliteral"
-- 
GitLab