[Libreoffice-commits] core.git: Branch 'libreoffice-7-0' - external/nss
Tor Lillqvist (via logerrit)
logerrit at kemper.freedesktop.org
Tue Nov 24 09:10:16 UTC 2020
external/nss/ExternalProject_nss.mk | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit 8d248341f219ea65fcf548aeb303a0f177848dd4
Author: Tor Lillqvist <tml at collabora.com>
AuthorDate: Mon Oct 19 20:52:46 2020 +0100
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Tue Nov 24 10:09:41 2020 +0100
Fix nss build for x86_64 on an Apple Silicon Mac
Change-Id: I337f2a8e777394e586f659fadd819cf7dfc0a332
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104546
Reviewed-by: Tor Lillqvist <tml at collabora.com>
Tested-by: Tor Lillqvist <tml at collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106467
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/external/nss/ExternalProject_nss.mk b/external/nss/ExternalProject_nss.mk
index 38b1a615808b..5de54f467ecd 100644
--- a/external/nss/ExternalProject_nss.mk
+++ b/external/nss/ExternalProject_nss.mk
@@ -53,6 +53,9 @@ $(call gb_ExternalProject_get_state_target,nss,build): $(call gb_ExternalExecuta
$(if $(filter MACOSXPOWERPC,$(OS)$(CPUNAME)),CPU_ARCH=ppc) \
$(if $(filter iOS-ARM,$(OS)-$(CPUNAME)),CPU_ARCH=arm) \
NSPR_CONFIGURE_OPTS="--build=$(BUILD_PLATFORM) --host=$(HOST_PLATFORM)") \
+ $(if $(filter MACOSX-X86_64-arm64,$(OS)-$(CPUNAME)-$(shell uname -m)), \
+ CPU_ARCH=x86_64 \
+ NSPR_CONFIGURE_OPTS="--build=$(BUILD_PLATFORM) --host=$(HOST_PLATFORM)") \
NSDISTMODE=copy \
$(MAKE) AR="$(AR)" \
RANLIB="$(RANLIB)" \
More information about the Libreoffice-commits
mailing list