eda/sqlite: Enabling RTREE, Omiting Authorization, Default Locking Mode=1
authorJerome St-Louis <jerome@ecere.com>
Fri, 15 Jul 2016 02:43:16 +0000 (22:43 -0400)
committerJerome St-Louis <jerome@ecere.com>
Thu, 28 Jul 2016 22:23:27 +0000 (18:23 -0400)
- Changed SQLite build options for EDA driver to match those used in project

eda/drivers/sqlite/Makefile

index 808d9b3..303de08 100644 (file)
@@ -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 += \