@@ -20,4 +20,15 @@ GNUPG_CONF_OPT = \
--with-zlib=$(STAGING_DIR)/usr/lib \
--with-libiconv-prefix=$(STAGING_DIR)/usr
+HOST_GNUPG_CONF_OPT = \
+ --disable-optimization \
+ --with-gpg-error-prefix=$(HOST_DIR)/usr \
+ --with-libgcrypt-prefix=$(HOST_DIR)/usr \
+ --with-libassuan-prefix=$(HOST_DIR)/usr \
+ --with-ksba-prefix=$(HOST_DIR)/usr \
+ --with-pth-prefix=$(HOST_DIR)/usr \
+ --with-zlib=$(HOST_DIR)/usr/lib \
+ --with-libiconv-prefix=$(HOST_DIR)/usr
+
$(eval $(call AUTOTARGETS))
+$(eval $(call AUTOTARGETS,host))
@@ -13,6 +13,11 @@ LIBASSUAN_CONF_OPT = \
--disable-optimization \
--with-gpg-error-prefix=$(STAGING_DIR)/usr
+HOST_LIBASSUAN_CONF_OPT = \
+ --disable-optimization \
+ --with-gpg-error-prefix=$(HOST_DIR)/usr
+
LIBASSUAN_DEPENDENCIES = libgpg-error
$(eval $(call AUTOTARGETS))
+$(eval $(call AUTOTARGETS,host))
@@ -18,3 +18,4 @@ LIBGCRYPT_CONF_OPT = \
LIBGCRYPT_DEPENDENCIES = libgpg-error
$(eval $(call AUTOTARGETS))
+$(eval $(call AUTOTARGETS,host))
@@ -9,3 +9,4 @@ LIBGPG_ERROR_SITE = ftp://ftp.gnupg.org/gcrypt/libgpg-error
LIBGPG_ERROR_INSTALL_STAGING = YES
$(eval $(call AUTOTARGETS))
+$(eval $(call AUTOTARGETS,host))
@@ -13,4 +13,9 @@ LIBKSBA_CONF_OPT = \
--disable-optimization \
--with-gpg-error-prefix=$(STAGING_DIR)/usr
+HOST_LIBKSBA_CONF_OPT = \
+ --disable-optimization \
+ --with-gpg-error-prefix=$(HOST_DIR)/usr
+
$(eval $(call AUTOTARGETS))
+$(eval $(call AUTOTARGETS,host))
@@ -12,4 +12,9 @@ LIBPTH_INSTALL_STAGING = YES
LIBPTH_CONF_OPT = \
--disable-optimization
+HOST_LIBPTH_CONF_OPT = \
+ --disable-optimization
+
+
$(eval $(call AUTOTARGETS))
+$(eval $(call AUTOTARGETS,host))