summaryrefslogtreecommitdiff
path: root/package/sqlite
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-01-22 21:37:50 (GMT)
committerWaldemar Brodkorb <wbx@openadk.org>2011-01-22 21:37:50 (GMT)
commit9436a026e2e23d207fbdcb9e8bc9b076e3573700 (patch)
treeadb1937bc90be8869a5f7c9636da84773414eb3b /package/sqlite
parent52b1b0100c53b1f8699955df618fcb47744e0a7e (diff)
activate GCC cflags check, cleanup FLAGS stuff in OpenADK.
* remove TCFLAGS/TLDFLAGS/TCPPFLAGS and only use TARGET_CFLAGS/TARGET_LDFLAGS/TARGET_CPPFLAGS, ... * activate GCC_HONOUR_COPTS and fix all packages to honour CFLAGS * use CC_FOR_BUILD, CFLAGS_FOR_BUILD, ... for all build compilation, remove HOST* variants * introduce KERNEL_MODULE_FLAGS for external kernel modules * mark rpm package as broken, mark syslinux for native builds only, mark libhugetlb for eglibc/glibc only usage
Diffstat (limited to 'package/sqlite')
-rw-r--r--package/sqlite/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/package/sqlite/Makefile b/package/sqlite/Makefile
index 4f3db59..175c535 100644
--- a/package/sqlite/Makefile
+++ b/package/sqlite/Makefile
@@ -20,14 +20,14 @@ include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,LIBSQLITE,libsqlite,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
$(eval $(call PKG_template,SQLITE_CLI,sqlite-cli,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-CONFIGURE_ENV+= config_BUILD_CC="${HOSTCC}" \
- config_BUILD_CFLAGS="${HOSTCFLAGS}" \
+CONFIGURE_ENV+= config_BUILD_CC="${CC_FOR_BUILD}" \
+ config_BUILD_CFLAGS="${CFLAGS_FOR_BUILD}" \
config_TARGET_CC="${TARGET_CC}" \
config_TARGET_CFLAGS="${TARGET_CFLAGS}" \
config_TARGET_READLINE_INC="-I${STAGING_TARGET_DIR}/usr/include" \
config_TARGET_READLINE_LIBS="-L${STAGING_TARGET_DIR}/usr/lib -lreadline -lncurses"
MAKE_FLAGS+= LIBPTHREAD=-lm
-TCFLAGS+= -DSQLITE_SECURE_DELETE=1
+TARGET_CPPFLAGS+= -DSQLITE_SECURE_DELETE=1
CONFIGURE_ARGS+= --disable-tcl \
--without-tcl \
--disable-amalgamation