diff options
author | Tor Lillqvist <tml@collabora.com> | 2020-11-15 21:22:49 +0000 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2020-11-16 00:11:45 +0100 |
commit | 8d46a8dbbdee54ea8082c372e8a07cd705d028dc (patch) | |
tree | e0eb69bba09ce4873e55f3f9aaaba0f41e477d57 | |
parent | e8bd0d8523eeff99b691f633fa0c8f6d1071e24f (diff) |
Make one more thing in Python compile for macOS on arm64
Change-Id: I6716048f0b58eb502b9d1ade8a13b8e33e4aaf2b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105907
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tor Lillqvist <tml@collabora.com>
-rw-r--r-- | external/python3/macos-11.patch.0 | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/external/python3/macos-11.patch.0 b/external/python3/macos-11.patch.0 index 11daf84d2710..d3dbbf605639 100644 --- a/external/python3/macos-11.patch.0 +++ b/external/python3/macos-11.patch.0 @@ -45,3 +45,15 @@ system_include_dirs = ['/usr/include'] # lib_dirs and inc_dirs are used to search for files; # if a file is found in one of those directories, it can +--- Modules/_decimal/libmpdec/mpdecimal.h ++++ Modules/_decimal/libmpdec/mpdecimal.h +@@ -135,6 +135,9 @@ + #elif defined(__x86_64__) + #define CONFIG_64 + #define ASM ++ #elif defined(__arm64__) ++ #define CONFIG_64 ++ #define ANSI + #else + #error "unknown architecture for universal build." + #endif |