Skip to content

Commit

Permalink
builtin: enable GC lib on rv64 build (#22319)
Browse files Browse the repository at this point in the history
  • Loading branch information
mengzhuo authored Sep 26, 2024
1 parent e03bd3f commit b1c9941
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vlib/builtin/builtin_d_gcboehm.c.v
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit b1c9941

Please sign in to comment.