aboutsummaryrefslogtreecommitdiff
path: root/depends
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2022-09-02 14:14:57 +0100
committerfanquake <fanquake@gmail.com>2023-01-23 10:21:08 +0000
commitdee690257c7948510a0661e23c9e398a13e20659 (patch)
tree51d8953a88dde21f62a6702d95436703183397fb /depends
parent807b61fcca6d301286ae43d00f88d986a985ea38 (diff)
build: pass --enable-debug to sqlite when DEBUG=1
Diffstat (limited to 'depends')
-rw-r--r--depends/packages/sqlite.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/depends/packages/sqlite.mk b/depends/packages/sqlite.mk
index b56894a80d..c8f3555ab2 100644
--- a/depends/packages/sqlite.mk
+++ b/depends/packages/sqlite.mk
@@ -11,6 +11,7 @@ $(package)_config_opts_linux=--with-pic
$(package)_config_opts_freebsd=--with-pic
$(package)_config_opts_netbsd=--with-pic
$(package)_config_opts_openbsd=--with-pic
+$(package)_config_opts_debug=--enable-debug
$(package)_cflags=-DSQLITE_DQS=0 -DSQLITE_DEFAULT_MEMSTATUS=0 -DSQLITE_OMIT_DEPRECATED
$(package)_cflags+=-DSQLITE_OMIT_SHARED_CACHE -DSQLITE_OMIT_JSON -DSQLITE_LIKE_DOESNT_MATCH_BLOBS
$(package)_cflags+=-DSQLITE_OMIT_DECLTYPE -DSQLITE_OMIT_PROGRESS_CALLBACK -DSQLITE_OMIT_AUTOINIT