diff --git a/services/BUILD.gn b/services/BUILD.gn index 501d894685277a4184a76aa7d6884de0a90ceec4..001df2fda64df3bde7761365e52ebc1ac79b7e61 100644 --- a/services/BUILD.gn +++ b/services/BUILD.gn @@ -16,7 +16,10 @@ import("//build/ohos.gni") config("concurrent_task_config") { visibility = [ ":*" ] cflags_cc = [ "-fexceptions" ] - cflags = [ "-fstack-protector-strong" ] + cflags = [ + "-fstack-protector-strong", + "-Wno-shift-negative-value", + ] include_dirs = [ "include", "../include",