summaryrefslogtreecommitdiff
path: root/package/sqlite
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-03-31 18:18:54 (GMT)
committerWaldemar Brodkorb <wbx@openadk.org>2011-03-31 18:18:54 (GMT)
commitac46bdeef28bc2b65e1880884a79257c28e423a7 (patch)
tree50b3bae39301c2ef89bbbabdb843a62d679e034e /package/sqlite
parent418fb3668f7140cc3e2ba07c354fe0d9bbb47d04 (diff)
parent84b90159b05aaa4e914ce51d2b1319218c32d8a1 (diff)
fix conflict, autoseect libgcj
Diffstat (limited to 'package/sqlite')
-rw-r--r--package/sqlite/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/sqlite/Makefile b/package/sqlite/Makefile
index 2b6c0fc..c9eab7a 100644
--- a/package/sqlite/Makefile
+++ b/package/sqlite/Makefile
@@ -24,6 +24,7 @@ include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,LIBSQLITE,libsqlite,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LIBSQLITE},${PKG_SECTION}))
$(eval $(call PKG_template,SQLITE_CLI,sqlite-cli,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+TARGET_CFLAGS:= $(filter-out -flto,$(TARGET_CFLAGS))
CONFIGURE_ENV+= config_BUILD_CC="${CC_FOR_BUILD}" \
config_BUILD_CFLAGS="${CFLAGS_FOR_BUILD}" \
config_TARGET_CC="${TARGET_CC}" \
@@ -32,7 +33,7 @@ CONFIGURE_ENV+= config_BUILD_CC="${CC_FOR_BUILD}" \
config_TARGET_READLINE_LIBS="-L${STAGING_TARGET_DIR}/usr/lib -lreadline -lncurses"
MAKE_FLAGS+= LIBPTHREAD=-lm
-TARGET_CPPFLAGS+= -DSQLITE_SECURE_DELETE=1
+TARGET_CPPFLAGS+= -DSQLITE_SECURE_DELETE=1 -DSQLITE_THREADSAFE=1 -DSQLITE_ENABLE_FTS3=1 -DSQLITE_ENABLE_UNLOCK_NOTIFY=1
libsqlite-install:
${INSTALL_DIR} ${IDIR_LIBSQLITE}/usr/lib