From fbc35b5aacf2b8c787fa2b2ae4a9bf0f035d2a5b Mon Sep 17 00:00:00 2001 From: wengchangcheng Date: Fri, 9 May 2025 14:50:40 +0800 Subject: [PATCH] Fix compiler error when enable cmc-gc Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IC6KTX Signed-off-by: wengchangcheng Change-Id: I96c2a9e3c8ab2de3adf7fdb53bb68f927f81c42e --- toolchain_config.gni | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/toolchain_config.gni b/toolchain_config.gni index 6641441e..e3b687a3 100644 --- a/toolchain_config.gni +++ b/toolchain_config.gni @@ -11,6 +11,10 @@ # See the License for the specific language governing permissions and # limitations under the License. +if (!defined(enable_cmc_gc)) { + enable_cmc_gc = false +} + if (!defined(ark_standalone_build)) { ark_standalone_build = false } -- Gitee