From f7fe89ad63bc0cb00ce09e60aee4f77d5febc4a8 Mon Sep 17 00:00:00 2001 From: ctw-ian Date: Mon, 5 Sep 2022 15:19:27 +0800 Subject: [PATCH] Use no exceptions on ets_frontend Issue:I5PQJT Signed-off-by: ctw-ian Change-Id: Ib6f5fbc39c7f609355ed82f61c1ffba2e7c815a2 --- es2panda/BUILD.gn | 2 -- ts2panda/ts2abc/BUILD.gn | 5 ----- 2 files changed, 7 deletions(-) diff --git a/es2panda/BUILD.gn b/es2panda/BUILD.gn index 9d7624aad0..2c7ba07c83 100644 --- a/es2panda/BUILD.gn +++ b/es2panda/BUILD.gn @@ -266,8 +266,6 @@ config("es2abc_config_src") { "./typescript", "./typescript/types", ] - - cflags = [ "-fexceptions" ] } config("es2abc_config_common") { diff --git a/ts2panda/ts2abc/BUILD.gn b/ts2panda/ts2abc/BUILD.gn index a6ee96c5ab..015134d47b 100755 --- a/ts2panda/ts2abc/BUILD.gn +++ b/ts2panda/ts2abc/BUILD.gn @@ -51,10 +51,6 @@ config("ts2abc_config") { } } -config("flag_config") { - cflags_cc = [ "-fexceptions" ] -} - source_set("jsoncpp_set_static") { sources = [ "$ark_third_party_root/jsoncpp/src/lib_json/json_reader.cpp", @@ -62,7 +58,6 @@ source_set("jsoncpp_set_static") { "$ark_third_party_root/jsoncpp/src/lib_json/json_writer.cpp", ] public_configs = [ "$jsoncpp_root:jsoncpp_config" ] - public_configs += [ ":flag_config" ] include_dirs = [ "$jsoncpp_root/include", "$jsoncpp_root/include/json/", -- Gitee