From c106280d121e7daeb4a4d607eab12cde157dc4fc Mon Sep 17 00:00:00 2001 From: jack meng Date: Tue, 21 Feb 2023 10:29:14 +0800 Subject: [PATCH] fixed android problem (#92) Co-authored-by: mengweifu <75886642@qq.com> --- mdbx/mdbx.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mdbx/mdbx.go b/mdbx/mdbx.go index 5fcce56..6e7df6d 100644 --- a/mdbx/mdbx.go +++ b/mdbx/mdbx.go @@ -131,7 +131,7 @@ package mdbx #cgo windows CFLAGS: -O2 -g -DMDBX_BUILD_FLAGS='' -DNDEBUG=1 -std=gnu11 -fvisibility=hidden -ffast-math -fexceptions -fno-common -W -Wno-deprecated-declarations -Wno-bad-function-cast -Wno-cast-function-type -Wall -Wno-format -Wno-format-security -Wno-implicit-fallthrough -Wno-unused-parameter -Wno-unused-function -Wno-format-extra-args -Wno-missing-field-initializers #cgo windows LDFLAGS: -lntdll -#cgo linux LDFLAGS: -lrt +#cgo !android,linux LDFLAGS: -lrt */ import "C"