diff --git a/es2panda/BUILD.gn b/es2panda/BUILD.gn index 880e24c18bbac0ed972c609b6d7e7da0a17202fd..d65419a1ceae45f50deee7646491b0f1571aa7dd 100644 --- a/es2panda/BUILD.gn +++ b/es2panda/BUILD.gn @@ -376,6 +376,7 @@ action_foreach("gen_isa_headers") { } ohos_static_library("es2panda_lib") { + stack_protector_ret = false sources = es2panda_src use_exceptions = true if (is_mac && current_cpu == "arm64") { diff --git a/merge_abc/BUILD.gn b/merge_abc/BUILD.gn index 45c37503feded797e1c037731b99f835760046e6..dd06583d4763b71cd0dfeb7841164bc3f66b88c9 100644 --- a/merge_abc/BUILD.gn +++ b/merge_abc/BUILD.gn @@ -138,6 +138,7 @@ config("proto_file_cpp_config") { } ohos_source_set("assembly_proto_static") { + stack_protector_ret = false cflags = [ "-Wno-error=zero-length-array" ] deps = [ @@ -156,6 +157,7 @@ ohos_source_set("assembly_proto_static") { } ohos_static_library("panda_assembly_proto_static") { + stack_protector_ret = false deps = [ ":assembly_proto_static" ] } diff --git a/ts2panda/ts2abc/BUILD.gn b/ts2panda/ts2abc/BUILD.gn index 3b264a58dc5bd7f272a1e265af440d28119dd5f9..7163847c94efbc8e35ca1c29ea311685d4940d03 100755 --- a/ts2panda/ts2abc/BUILD.gn +++ b/ts2panda/ts2abc/BUILD.gn @@ -63,6 +63,7 @@ source_set("jsoncpp_set_static") { } ohos_static_library("jsoncpp_static") { + stack_protector_ret = false deps = [ ":jsoncpp_set_static" ] use_exceptions = true part_name = "ets_frontend"