summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManoj Gupta <manojgupta@google.com>2020-06-09 15:15:05 -0700
committerMike Gilbert <floppym@gentoo.org>2020-06-13 10:57:14 -0400
commit2e54bc31149f25b3c1c9af3db51dfc664b14a4ab (patch)
tree706b0e9548562f71ffe5a549dc5eaa6ca1c45c44 /dev-libs/nettle
parentsys-apps/dbus-broker: remove old (diff)
downloadgentoo-2e54bc31149f25b3c1c9af3db51dfc664b14a4ab.tar.gz
gentoo-2e54bc31149f25b3c1c9af3db51dfc664b14a4ab.tar.bz2
gentoo-2e54bc31149f25b3c1c9af3db51dfc664b14a4ab.zip
dev-libs/nettle: Respect portage host cc variable
Pass CC_FOR_BUILD to econf. Otherwise it invokes gcc instead of portage specified HOST/BUILD CC. Signed-off-by: Manoj Gupta <manojgupta@google.com> Signed-off-by: Mike Gilbert <floppym@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/16156
Diffstat (limited to 'dev-libs/nettle')
-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) \