diff options
Diffstat (limited to 'net-im/telegram-desktop/files/tdesktop-3.1.0-jemalloc-only-telegram.patch')
-rw-r--r-- | net-im/telegram-desktop/files/tdesktop-3.1.0-jemalloc-only-telegram.patch | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/net-im/telegram-desktop/files/tdesktop-3.1.0-jemalloc-only-telegram.patch b/net-im/telegram-desktop/files/tdesktop-3.1.0-jemalloc-only-telegram.patch deleted file mode 100644 index 7ad3e75e49ba..000000000000 --- a/net-im/telegram-desktop/files/tdesktop-3.1.0-jemalloc-only-telegram.patch +++ /dev/null @@ -1,35 +0,0 @@ -Only link jemalloc for the Telegram binary - -Some combination of factors is making the different codegen tools hang when -jemalloc is linked for those, and they're ran under portage's sandbox. Since -this is only used during build-time, and jemalloc is merely necessary to -improve runtime memory use, it's unnecessary to use it for anything else. - ---- tdesktop-3.1.0-full.orig/Telegram/CMakeLists.txt -+++ tdesktop-3.1.0-full/Telegram/CMakeLists.txt -@@ -1256,6 +1256,11 @@ - endif() - endif() - else() -+ target_link_libraries(Telegram -+ PRIVATE -+ desktop-app::external_jemalloc -+ ) -+ - if (NOT DESKTOP_APP_DISABLE_DBUS_INTEGRATION) - target_link_libraries(Telegram - PRIVATE ---- tdesktop-3.1.0-full.orig/cmake/options_linux.cmake -+++ tdesktop-3.1.0-full/cmake/options_linux.cmake -@@ -45,11 +45,6 @@ - target_link_options(common_options INTERFACE $<IF:$<CONFIG:Debug>,,-g -flto -fuse-linker-plugin>) - endif() - --target_link_libraries(common_options --INTERFACE -- desktop-app::external_jemalloc --) -- - if (DESKTOP_APP_USE_ALLOCATION_TRACER) - target_link_options(common_options - INTERFACE |