Created attachment 524628 [details] build failure When trying to compile nss with clang the build does not properly pick up the CXX build variable and tries to use g++ resulting in the attached failure.
Created attachment 524630 [details, diff] build fix Makefile just seems to need the CCC environment variable defined. Build fine locally with patch.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=3435891c71a7437cf05f1b6efa77cc09c08e209f commit 3435891c71a7437cf05f1b6efa77cc09c08e209f Author: Lars Wendler <polynomial-c@gentoo.org> AuthorDate: 2018-03-21 07:48:32 +0000 Commit: Lars Wendler <polynomial-c@gentoo.org> CommitDate: 2018-03-21 07:48:32 +0000 dev-libs/nss: Fixed build with clang. Thanks-to: Wil Reichert <wil.reichert@gmail.com> Bug: https://bugs.gentoo.org/651044 Package-Manager: Portage-2.3.24, Repoman-2.3.6 Manifest-Sign-Key: 0x498FE765960E9B39 dev-libs/nss/nss-3.36.ebuild | 1 + 1 file changed, 1 insertion(+)}
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dedfc58e5929bb90fc2020002a56d540d48659fc commit dedfc58e5929bb90fc2020002a56d540d48659fc Author: Lars Wendler <polynomial-c@gentoo.org> AuthorDate: 2018-03-21 07:48:32 +0000 Commit: Lars Wendler <polynomial-c@gentoo.org> CommitDate: 2018-03-21 07:50:23 +0000 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(+)