summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2024-04-14 15:24:14 -0700
committerYuri Victorovich <yuri@FreeBSD.org>2024-04-14 15:25:19 -0700
commit721b06a2d83f1aea83a5747605046792a3d78eed (patch)
tree893f248683e9a1069d13d33729bb4497e25483f4
parentaudio/sayonara: repair build (2nd attempt) (diff)
databases/surrealdb: Fix build by adding the recommended rust option
-rw-r--r--databases/surrealdb/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/databases/surrealdb/Makefile b/databases/surrealdb/Makefile
index 8765b690bc40..542fef6dc893 100644
--- a/databases/surrealdb/Makefile
+++ b/databases/surrealdb/Makefile
@@ -689,6 +689,7 @@ CARGO_CRATES= actix-codec-0.5.2 \
zstd-0.13.1 \
zstd-safe-7.1.0 \
zstd-sys-2.0.10+zstd.1.5.6
+RUSTFLAGS= --cfg surrealdb_unstable # workaround for https://github.com/surrealdb/surrealdb/issues/3871
OPENSSLINC= /usr/include
OPENSSLLIB= /usr/lib