[Buildroot] [git commit branch/2018.05.x] bind: fix build with openssl
Peter Korsgaard
peter at korsgaard.com
Thu Jul 19 21:40:33 UTC 2018
commit: https://git.buildroot.net/buildroot/commit/?id=463e692251deee0fd95419f61c222b6d203e0ce3
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2018.05.x
The bind configure.in uses AC_TRY_RUN that is not compatible with cross
compile. Disable eddsa unconditionally since it requires a newer OpenSSL
version than we currently have. Enable aes; this is always supported in
current OpenSSL versions.
Fixes:
http://autobuild.buildroot.net/results/3ed/3edb1659954b00401b68ffc7e1c8b3c29581c0e4/
http://autobuild.buildroot.net/results/025/025e377b51b39ba34647636ad0d0661a3cb95572/
http://autobuild.buildroot.net/results/725/7250564e780e43e793ae6c8c526985e5519681f4/
Signed-off-by: Baruch Siach <baruch at tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
(cherry picked from commit 5a92bb63bf0657f24694b8c8c24dff04f6e96dca)
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
package/bind/bind.mk | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/package/bind/bind.mk b/package/bind/bind.mk
index c4429ef6cc..e71eddcd7f 100644
--- a/package/bind/bind.mk
+++ b/package/bind/bind.mk
@@ -61,7 +61,9 @@ BIND_CONF_ENV += \
ac_cv_func_EVP_sha512=yes
BIND_CONF_OPTS += \
--with-openssl=$(STAGING_DIR)/usr LIBS="-lz" \
- --with-ecdsa=yes
+ --with-ecdsa=yes \
+ --with-eddsa=no \
+ --with-aes=yes
# GOST cipher support requires openssl extra engines
ifeq ($(BR2_PACKAGE_OPENSSL_ENGINES),y)
BIND_CONF_OPTS += --with-gost=yes
More information about the buildroot
mailing list