diff options
Diffstat (limited to 'testing/telegram-desktop/check-sizeof-void-p.patch')
-rw-r--r-- | testing/telegram-desktop/check-sizeof-void-p.patch | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/testing/telegram-desktop/check-sizeof-void-p.patch b/testing/telegram-desktop/check-sizeof-void-p.patch deleted file mode 100644 index 9b14d4baf3..0000000000 --- a/testing/telegram-desktop/check-sizeof-void-p.patch +++ /dev/null @@ -1,18 +0,0 @@ -diff --git a/cmake/variables.cmake b/cmake/variables.cmake -index b3d7ff4..feb3dac 100644 ---- a/cmake/variables.cmake -+++ b/cmake/variables.cmake -@@ -59,10 +59,9 @@ elseif (APPLE) - set(DESKTOP_APP_USE_GLIBC_WRAPS OFF) - 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") -- set(build_linux32 1) -- endif() -+ if(CMAKE_SIZEOF_VOID_P EQUAL 4) -+ set(build_linux32 1) -+ endif() - if (DESKTOP_APP_SPECIAL_TARGET STREQUAL "linux") - if (build_linux32) - report_bad_special_target() |