diff --git a/package/libxcrypt/libxcrypt.mk b/package/libxcrypt/libxcrypt.mk index 9ad030fbd2..8cb6751442 100644 --- a/package/libxcrypt/libxcrypt.mk +++ b/package/libxcrypt/libxcrypt.mk @@ -13,8 +13,11 @@ LIBXCRYPT_AUTORECONF = YES # Some warnings turn into errors with some sensitive compilers LIBXCRYPT_CONF_OPTS = --disable-werror +HOST_LIBXCRYPT_CONF_OPTS = --disable-werror # Disable obsolete and unsecure API LIBXCRYPT_CONF_OPTS += --disable-obsolete_api +HOST_LIBXCRYPT_CONF_OPTS += --disable-obsolete_api $(eval $(autotools-package)) +$(eval $(host-autotools-package))