From 6b5d8c3a167934c6af68120bd45b9575b263fe48 Mon Sep 17 00:00:00 2001 From: Jerome St-Louis Date: Thu, 14 Jul 2016 22:43:16 -0400 Subject: [PATCH] eda/sqlite: Enabling RTREE, Omiting Authorization, Default Locking Mode=1 - Changed SQLite build options for EDA driver to match those used in project --- eda/drivers/sqlite/Makefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/eda/drivers/sqlite/Makefile b/eda/drivers/sqlite/Makefile index 808d9b3..303de08 100644 --- a/eda/drivers/sqlite/Makefile +++ b/eda/drivers/sqlite/Makefile @@ -90,12 +90,18 @@ endif PRJ_CFLAGS += \ $(if $(WINDOWS_TARGET), \ -I../../../deps/libffi-3.0.11/i686-pc-mingw32/include,) \ - $(if $(DEBUG), -g, -O2 -ffast-math) $(FPIC) -w + $(if $(DEBUG), -g, -O2 -ffast-math) $(FPIC) -w -DREPOSITORY_VERSION="\"$(REPOSITORY_VER)\"" \ + -DSQLITE_DEFAULT_LOCKING_MODE=1 \ + -DSQLITE_ENABLE_RTREE=1 \ + -DSQLITE_OMIT_AUTHORIZATION CUSTOM1_PRJ_CFLAGS = \ $(if $(WINDOWS_TARGET), \ -I../../../deps/libffi-3.0.11/i686-pc-mingw32/include,) \ - $(if $(DEBUG), -g, -O2) $(FPIC) -w + $(if $(DEBUG), -g, -O2) $(FPIC) -w -DREPOSITORY_VERSION="\"$(REPOSITORY_VER)\"" \ + -DSQLITE_DEFAULT_LOCKING_MODE=1 \ + -DSQLITE_ENABLE_RTREE=1 \ + -DSQLITE_OMIT_AUTHORIZATION ECFLAGS += -module $(MODULE) ECFLAGS += \ -- 1.8.3.1