From dedfc58e5929bb90fc2020002a56d540d48659fc Mon Sep 17 00:00:00 2001
From: Lars Wendler <polynomial-c@gentoo.org>
Date: Wed, 21 Mar 2018 08:48:32 +0100
Subject: [PATCH] dev-libs/nss: Fixed build with clang.

Thanks-to: Wil Reichert <wil.reichert@gmail.com>
Closes: https://bugs.gentoo.org/651044
Package-Manager: Portage-2.3.24, Repoman-2.3.6
---
 dev-libs/nss/nss-3.36.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-libs/nss/nss-3.36.ebuild b/dev-libs/nss/nss-3.36.ebuild
index e98eac88ca8c..3a343d29931e 100644
--- a/dev-libs/nss/nss-3.36.ebuild
+++ b/dev-libs/nss/nss-3.36.ebuild
@@ -154,6 +154,7 @@ multilib_src_compile() {
 
 	local makeargs=(
 		CC="$(tc-getCC)"
+		CCC="$(tc-getCXX)"
 		AR="$(tc-getAR) rc \$@"
 		RANLIB="$(tc-getRANLIB)"
 		OPTIMIZER=
-- 
2.26.2