summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-libs/nettle/nettle-3.6-r2.ebuild1
1 files changed, 1 insertions, 0 deletions
diff --git a/dev-libs/nettle/nettle-3.6-r2.ebuild b/dev-libs/nettle/nettle-3.6-r2.ebuild
index 8bac0c13512c..7a850ed2560b 100644
--- a/dev-libs/nettle/nettle-3.6-r2.ebuild
+++ b/dev-libs/nettle/nettle-3.6-r2.ebuild
@@ -49,6 +49,7 @@ src_prepare() {
multilib_src_configure() {
# --disable-openssl bug #427526
ECONF_SOURCE="${S}" econf \
+ CC_FOR_BUILD="$(tc-getBUILD_CC)" \
$(tc-is-static-only && echo --disable-shared) \
$(use_enable cpu_flags_x86_aes x86-aesni) \
$(use_enable cpu_flags_x86_sha x86-sha-ni) \