|
@@ -13,9 +13,11 @@ ifneq ($(BR2_LARGEFILE),y)
|
|
|
# the sqlite configure script fails to define SQLITE_DISABLE_LFS when
|
|
|
# --disable-largefile is passed, breaking the build. Work around it by
|
|
|
# simply adding it to CFLAGS for configure instead
|
|
|
-SQLITE_CONF_ENV = CFLAGS="$(TARGET_CFLAGS) -DSQLITE_DISABLE_LFS"
|
|
|
+SQLITE_CFLAGS += -DSQLITE_DISABLE_LFS
|
|
|
endif
|
|
|
|
|
|
+SQLITE_CONF_ENV = CFLAGS="$(TARGET_CFLAGS) $(SQLITE_CFLAGS)"
|
|
|
+
|
|
|
SQLITE_CONF_OPT = \
|
|
|
--enable-threadsafe \
|
|
|
--localstatedir=/var
|