From b9094b01f1689428b39e5c21567c1645ce38ad68 Mon Sep 17 00:00:00 2001 From: Meng Zhuo Date: Thu, 26 Sep 2024 14:16:49 +0800 Subject: [PATCH] vlib: enable GC lib on rv64 build --- vlib/builtin/builtin_d_gcboehm.c.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vlib/builtin/builtin_d_gcboehm.c.v b/vlib/builtin/builtin_d_gcboehm.c.v index ed868b2a8f3dcb..444a014976d1b6 100644 --- a/vlib/builtin/builtin_d_gcboehm.c.v +++ b/vlib/builtin/builtin_d_gcboehm.c.v @@ -44,7 +44,7 @@ $if dynamic_boehm ? { $if macos || linux { #flag -DGC_BUILTIN_ATOMIC=1 #flag -I @VEXEROOT/thirdparty/libgc/include - $if (prod && !tinyc && !debug) || !(amd64 || arm64 || i386 || arm32) { + $if (prod && !tinyc && !debug) || !(amd64 || arm64 || i386 || arm32 || rv64) { // TODO: replace the architecture check with a `!$exists("@VEXEROOT/thirdparty/tcc/lib/libgc.a")` comptime call #flag @VEXEROOT/thirdparty/libgc/gc.o } $else {