diff --git a/meta-ohos-core/recipes-support/liburcu/liburcu_%.bbappend b/meta-ohos-core/recipes-support/liburcu/liburcu_%.bbappend
new file mode 100644
index 0000000000000000000000000000000000000000..7e0804680bb4d2d31a0211c61000dfe099c589a3
--- /dev/null
+++ b/meta-ohos-core/recipes-support/liburcu/liburcu_%.bbappend
@@ -0,0 +1,11 @@
+# SPDX-FileCopyrightText: Huawei Inc.
+# SPDX-License-Identifier: Apache-2.0
+
+# liburcu uses zero-length array tricks causing array-bounds warnings.
+# The warnings have been verifited to be harmless in 0.11.1; for extra
+# security, this should be re-checked after updating.
+#
+# Removing -Werror=array-bounds here allows us to use -Werror=array-bounds
+# globally in OPTIMIZE_FOR=security mode.
+
+TARGET_CFLAGS_remove = "-Werror=array-bounds"