From 2d6ebc7478b1558c3dbdf80a237de9b9641df36d Mon Sep 17 00:00:00 2001 From: Krzesimir Nowak Date: Thu, 31 Mar 2022 15:51:15 +0200 Subject: [PATCH] coreos/config: Workaround flaky checks in net-dns/bind-tools The reasoning is written in the config file. But at the same time drop the outdated stuff - there is no such flag like --without-ecdsa any more. --- .../coreos/config/env/net-dns/bind-tools | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/sdk_container/src/third_party/coreos-overlay/coreos/config/env/net-dns/bind-tools b/sdk_container/src/third_party/coreos-overlay/coreos/config/env/net-dns/bind-tools index 4f1c422d57..73ec86627f 100644 --- a/sdk_container/src/third_party/coreos-overlay/coreos/config/env/net-dns/bind-tools +++ b/sdk_container/src/third_party/coreos-overlay/coreos/config/env/net-dns/bind-tools @@ -1,2 +1,10 @@ -# Work around failing OpenSSL feature detection. -EXTRA_ECONF="--without-ecdsa" +# Work around lame function attribute checks when cross-compiling. +# Linker emits a bunch of irrelevant warnings and that trips configure +# script up into thinking that those attributes are not +# supported. Upstream bind-tools already fixed that by being smarter +# and grepping for -Wattributes instead, but we are not yet packaging +# it. We also know that constructor and destructor attributes are +# supported - they are available since at least gcc 3.4. + +EXTRA_ECONF+=" ax_cv_have_func_attribute_constructor=yes" +EXTRA_ECONF+=" ax_cv_have_func_attribute_destructor=yes"