Merge pull request #1997 from wj-xiao/fix/freebsd-build
fix(build): disable Matrix gateway import on freebsd/arm
This commit is contained in:
commit
5f50ae5e76
1 changed files with 4 additions and 1 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
//go:build !mipsle && !netbsd
|
//go:build !mipsle && !netbsd && !(freebsd && arm)
|
||||||
|
|
||||||
package gateway
|
package gateway
|
||||||
|
|
||||||
|
|
@ -12,6 +12,9 @@ import (
|
||||||
// - netbsd/*: modernc.org/sqlite v1.46.1 fails to compile due to broken
|
// - netbsd/*: modernc.org/sqlite v1.46.1 fails to compile due to broken
|
||||||
// generated mutex code on NetBSD (for example sqlite_netbsd_amd64.go calls
|
// generated mutex code on NetBSD (for example sqlite_netbsd_amd64.go calls
|
||||||
// mu.enter/mu.leave, but the generated mutex type does not define them).
|
// mu.enter/mu.leave, but the generated mutex type does not define them).
|
||||||
|
// - freebsd/arm: modernc.org/libc v1.67.6 fails to compile due to broken
|
||||||
|
// generated 32-bit FreeBSD code (size_t/uint64 and int32/int64 mismatches
|
||||||
|
// in libc_freebsd.go).
|
||||||
//
|
//
|
||||||
// This means Matrix is currently unavailable on those targets. The proper
|
// This means Matrix is currently unavailable on those targets. The proper
|
||||||
// long-term fix is to split Matrix basic support from its E2EE/sqlite-backed
|
// long-term fix is to split Matrix basic support from its E2EE/sqlite-backed
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue