[Libreoffice-commits] core.git: external/nss

Michael Weghorn (via logerrit) logerrit at kemper.freedesktop.org
Wed Dec 4 10:45:40 UTC 2019


 external/nss/nss-android.patch.1 |   12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

New commits:
commit b5dd9bd25ebad0bcf679d079ecb701304433d602
Author:     Michael Weghorn <m.weghorn at posteo.de>
AuthorDate: Tue Dec 3 14:49:59 2019 +0100
Commit:     Michael Stahl <michael.stahl at cib.de>
CommitDate: Wed Dec 4 11:44:55 2019 +0100

    nss: Fix Android build for x86 and x86_64
    
    ... which previously failed with
    
        cd freebl; make libs
        error: unknown target CPU 'armv8-a'
    
    and
    
        cd freebl; make libs
        error: unknown target CPU 'armv8-a+crypto'
    
    respectively.
    
    Change-Id: Ib8a6bfc615c4fb15a1e5dd3e55bba187ff34a891
    Reviewed-on: https://gerrit.libreoffice.org/84369
    Tested-by: Jenkins
    Reviewed-by: Michael Stahl <michael.stahl at cib.de>

diff --git a/external/nss/nss-android.patch.1 b/external/nss/nss-android.patch.1
index 560623080c73..368b7a23668b 100644
--- a/external/nss/nss-android.patch.1
+++ b/external/nss/nss-android.patch.1
@@ -73,15 +73,19 @@ diff -ur nss.org/nss/Makefile nss/nss/Makefile
 diff -ur nss/nss/coreconf/arch.mk nss/nss/coreconf/arch.mk
 --- nss/nss/coreconf/arch.mk	2019-11-01 10:29:44.933245745 +0100
 +++ nss/nss/coreconf/arch.mk	2019-11-01 10:32:04.347181076 +0100
-@@ -234,7 +234,11 @@
+@@ -234,7 +234,15 @@
  #
  # this should be  configurable from the user
  #
 -   OS_TEST := arm
-+   ifeq ($(USE_64),1)
-+	OS_TEST := aarch64
++   ifneq (,$(filter x86 x86_64,$(ANDROID_APP_ABI)))
++       OS_TEST := $(ANDROID_APP_ABI)
 +   else
-+	OS_TEST := arm
++       ifeq ($(USE_64),1)
++          OS_TEST := aarch64
++       else
++          OS_TEST := arm
++       endif
 +   endif
     OS_ARCH = Android
     ifndef OS_TARGET_RELEASE


More information about the Libreoffice-commits mailing list