commit:     6edf65f8d7e2d643df9e1bba1ef27ac687a35714
Author:     Ross Charles Campbell <rossbridger.cc <AT> gmail <DOT> com>
AuthorDate: Wed Aug 26 15:11:03 2020 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Mon Aug 31 22:08:55 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6edf65f8

dev-libs/nss: Add NS_USE_GCC environment variable

This variable seems to be required to be be set in order to have certain
files to be compiled on arm64 linux systems, otherwise some symbols will
be missing at linking thus causing build failure.

This addition seems to be harmless on amd64 systems.

Closes: https://bugs.gentoo.org/738924
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Ross Charles Campbell <rossbridger.cc <AT> gmail.com>
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>

 dev-libs/nss/nss-3.56.ebuild | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/dev-libs/nss/nss-3.56.ebuild b/dev-libs/nss/nss-3.56.ebuild
index 1be5f0e7ebe..1404b61e14c 100644
--- a/dev-libs/nss/nss-3.56.ebuild
+++ b/dev-libs/nss/nss-3.56.ebuild
@@ -161,6 +161,8 @@ multilib_src_compile() {
        export USE_SYSTEM_ZLIB=1
        export ZLIB_LIBS=-lz
        export ASFLAGS=""
+       # Fix build failure on arm64
+       export NS_USE_GCC=1
 
        local d
 

Reply via email to