From a21ea0566e72310d1da8b42f769ad119a3b708c1 Mon Sep 17 00:00:00 2001 From: the-minions-of-cplu Date: Thu, 5 May 2022 20:19:45 +0800 Subject: [PATCH] add rtti to protobuf_lite Signed-off-by: the-minions-of-cplu --- src/BUILD.gn | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/BUILD.gn b/src/BUILD.gn index 9dd7741..c5b7dd0 100644 --- a/src/BUILD.gn +++ b/src/BUILD.gn @@ -128,18 +128,13 @@ protobuf_lite_sources = [ ] ohos_shared_library("protobuf_standard") { - configs = [ - ":protobuf_config", - "//build/config/compiler:rtti", - ] + configs = [ ":protobuf_config" ] sources = protobuf_lite_sources - remove_configs = [ "//build/config/compiler:no_rtti" ] defines = [ "HAVE_PTHREAD" ] cflags_cc = [ "-Wall", "-Werror", "-fPIC", - "-frtti", "-U__ANDROID__", "-Wno-sign-compare", "-Wno-error=unused-parameter", -- Gitee