summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2012-03-12 18:14:01 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2012-03-12 18:14:01 +0100
commitef0a32a759198c0ed721f88349ddaa688d71453f (patch)
treef8accfb9af6437145c52687fa9c90f6660cf146a
parentb5c6bc49e2cc7bb2e7bacaee758eff93d87ab726 (diff)
fix cross-compile
-rw-r--r--package/gnutls/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/package/gnutls/Makefile b/package/gnutls/Makefile
index b7d358161..f73d8f7e8 100644
--- a/package/gnutls/Makefile
+++ b/package/gnutls/Makefile
@@ -32,12 +32,10 @@ $(eval $(call PKG_template,LIBGNUTLS_EXTRA,libgnutls-extra,${PKG_VERSION}-${PKG_
$(eval $(call PKG_template,LIBGNUTLS_OPENSSL,libgnutls-openssl,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKGSC_LIBGNUTLS_OPENSSL}))
TARGET_CFLAGS:= $(filter-out -flto,$(TARGET_CFLAGS))
-CONFIGURE_ARGS+= --disable-camellia \
- --with-libgcrypt \
- --with-libgcrypt-prefix=${STAGING_TARGET_DIR}/usr \
- --disable-rpath \
+CONFIGURE_ARGS+= --disable-rpath \
--without-libz-prefix \
- --without-p11-kit
+ --without-p11-kit \
+ --with-libnettle-prefix="$(STAGING_DIR)/usr"
CONFIGURE_ENV+= ac_cv_prog_AR='$(TARGET_CROSS)ar'
post-install: