diff options
Diffstat (limited to 'testing/telegram-desktop/exotic-arch-compat.patch')
-rw-r--r-- | testing/telegram-desktop/exotic-arch-compat.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/testing/telegram-desktop/exotic-arch-compat.patch b/testing/telegram-desktop/exotic-arch-compat.patch new file mode 100644 index 00000000000..1631047019f --- /dev/null +++ b/testing/telegram-desktop/exotic-arch-compat.patch @@ -0,0 +1,16 @@ +diff --git a/cmake/variables.cmake b/cmake/variables.cmake +index b3d7ff4..28f0ded 100644 +--- a/cmake/variables.cmake ++++ b/cmake/variables.cmake +@@ -60,7 +60,10 @@ elseif (APPLE) + else() + set(LINUX 1) + execute_process(COMMAND uname -m OUTPUT_VARIABLE machine_uname) +- if (NOT ${machine_uname} MATCHES "x86_64" AND NOT ${machine_uname} MATCHES "aarch64") ++ if (NOT ${machine_uname} MATCHES "x86_64" ++ AND NOT ${machine_uname} MATCHES "aarch64" ++ AND NOT ${machine_uname} MATCHES "ppc64le" ++ AND NOT ${machine_uname} MATCHES "arm") + set(build_linux32 1) + endif() + if (DESKTOP_APP_SPECIAL_TARGET STREQUAL "linux") |