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"