[Libreoffice-commits] core.git: Branch 'libreoffice-7-0' - configure.ac

Tor Lillqvist (via logerrit) logerrit at kemper.freedesktop.org
Mon Nov 23 16:01:59 UTC 2020


 configure.ac |    5 +++++
 1 file changed, 5 insertions(+)

New commits:
commit 6aa2571083a0a616063c3540520b2fd25210704b
Author:     Tor Lillqvist <tml at iki.fi>
AuthorDate: Mon Jun 29 10:15:48 2020 +0300
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Mon Nov 23 17:01:23 2020 +0100

    For macOS on arm64, be sure to use HOST_PLATFORM=arm64-apple-darwin
    
    (That is for external projects.)
    
    Change-Id: I709ff37ebca304f862ff94bdb1c6e6035f5cda77
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97981
    Tested-by: Jenkins
    Reviewed-by: Tor Lillqvist <tml at collabora.com>
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105870
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106370
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/configure.ac b/configure.ac
index e739513c0b33..83e4b6c3e10a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -701,6 +701,11 @@ darwin*|macos*) # macOS
 
     # -undefined error is the default
     LINKFLAGSNOUNDEFS=""
+    if test "$host_cpu" = arm64; then
+        # HOST_PLATFORM is used for external projects and their configury occasionally doesn't like
+        # the "macos" part so be sure to use arm64-apple-darwin for now.
+        HOST_PLATFORM=arm64-apple-darwin
+    fi
 ;;
 
 ios*) # iOS


More information about the Libreoffice-commits mailing list