Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Add more flags to sqlite before building it
Baptiste Daroussin committed 6 years ago
commit 3d5ecc3a40575b50658ec033daf54781caad902a
parent a8bec72
2 files changed +4 -2
modified auto.def
@@ -141,7 +141,8 @@ cc-with { -includes sys/stat.h } {
}

# check for sqlite
-
cc-check-functions gmtime_r isnan localtime_r strchrnul strerror_r
+
cc-check-functions gmtime_r isnan localtime_r strchrnul strerror_r fdatasync \
+
	fchown lstat readlink
cc-check-includes stdint.h inttypes.h

# check for pkg itself
modified external/sqlite/Makefile.autosetup
@@ -10,7 +10,8 @@ LOCAL_CFLAGS= -I$(top_srcdir)/external/linenoise \
		-Wno-unused-function \
		-Wno-strict-aliasing \
		-Wno-unused-parameter \
-
		-DHAVE_USLEEP=1 \
+
		-DSQLITE_OS_UNIX=1 \
+
		-DDHAVE_MALLOC_USABLE_SIZE=1 \
		-DSQLITE_OMIT_AUTOVACUUM \
		-DSQLITE_OMIT_BLOB_LITERAL \
		-DSQLITE_OMIT_DECLTYPE \