1 |
commit: 6edf65f8d7e2d643df9e1bba1ef27ac687a35714 |
2 |
Author: Ross Charles Campbell <rossbridger.cc <AT> gmail <DOT> com> |
3 |
AuthorDate: Wed Aug 26 15:11:03 2020 +0000 |
4 |
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Aug 31 22:08:55 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6edf65f8 |
7 |
|
8 |
dev-libs/nss: Add NS_USE_GCC environment variable |
9 |
|
10 |
This variable seems to be required to be be set in order to have certain |
11 |
files to be compiled on arm64 linux systems, otherwise some symbols will |
12 |
be missing at linking thus causing build failure. |
13 |
|
14 |
This addition seems to be harmless on amd64 systems. |
15 |
|
16 |
Closes: https://bugs.gentoo.org/738924 |
17 |
Package-Manager: Portage-3.0.4, Repoman-3.0.1 |
18 |
Signed-off-by: Ross Charles Campbell <rossbridger.cc <AT> gmail.com> |
19 |
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org> |
20 |
|
21 |
dev-libs/nss/nss-3.56.ebuild | 2 ++ |
22 |
1 file changed, 2 insertions(+) |
23 |
|
24 |
diff --git a/dev-libs/nss/nss-3.56.ebuild b/dev-libs/nss/nss-3.56.ebuild |
25 |
index 1be5f0e7ebe..1404b61e14c 100644 |
26 |
--- a/dev-libs/nss/nss-3.56.ebuild |
27 |
+++ b/dev-libs/nss/nss-3.56.ebuild |
28 |
@@ -161,6 +161,8 @@ multilib_src_compile() { |
29 |
export USE_SYSTEM_ZLIB=1 |
30 |
export ZLIB_LIBS=-lz |
31 |
export ASFLAGS="" |
32 |
+ # Fix build failure on arm64 |
33 |
+ export NS_USE_GCC=1 |
34 |
|
35 |
local d |