Reenable threadsafe sqlite.
Do it properly and only enable thread-safety, but not the worker thread support. The latter is what requires the whole libpthread dependency. A potential compromis would be to use a weak pthread_create and only enable worker threads if it is provided, but given that it is only really used for large sorts, don't bother for now.
This commit is contained in:
parent
4f7d5d1727
commit
716cbf2576
3
external/public-domain/sqlite/Makefile.inc
vendored
3
external/public-domain/sqlite/Makefile.inc
vendored
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile.inc,v 1.10 2020/11/12 17:53:43 nia Exp $
|
||||
# $NetBSD: Makefile.inc,v 1.11 2021/02/05 21:48:52 joerg Exp $
|
||||
|
||||
WARNS= 2
|
||||
|
||||
@ -15,6 +15,7 @@ CPPFLAGS+= \
|
||||
-DHAVE_STRERROR_R=1 \
|
||||
-DHAVE_USLEEP=1 \
|
||||
-DHAVE_SYS_ENDIAN_H=1 \
|
||||
-DSQLITE_THREADSAFE \
|
||||
-DSQLITE_MAX_WORKER_THREADS=0 \
|
||||
-DSQLITE_ENABLE_COLUMN_METADATA \
|
||||
-DSQLITE_ENABLE_FTS3_PARENTHESIS \
|
||||
|
Loading…
Reference in New Issue
Block a user