[Libreoffice-commits] core.git: configure.ac

Tor Lillqvist (via logerrit) logerrit at kemper.freedesktop.org
Sat Jul 4 22:02:30 UTC 2020


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

New commits:
commit 86884f876ed2c9e8d4690d8ae746de51f93e43d4
Author:     Tor Lillqvist <tml at iki.fi>
AuthorDate: Mon Jun 29 10:15:48 2020 +0300
Commit:     Tor Lillqvist <tml at collabora.com>
CommitDate: Sun Jul 5 00:01:40 2020 +0200

    For macOS on arm64, be sure to use HOST_PLATFORM=arm64-apple-darwin
    
    (That is for the 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>

diff --git a/configure.ac b/configure.ac
index d477665acc28..efe8fb83b67b 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