From b875d0ae2bf457ec94aaddd08431753e14ec71ac Mon Sep 17 00:00:00 2001 From: John Preston Date: Mon, 1 Apr 2024 16:03:21 +0400 Subject: [PATCH] Revert "Remove -static-libgcc to fix the system proxy." This reverts commit c82faf706fd10618ad5f97a7972fb09c56843271. I hope this fixes huge amount of crashes in recent versions. --- options_linux.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/options_linux.cmake b/options_linux.cmake index b037f67d..5496622b 100644 --- a/options_linux.cmake +++ b/options_linux.cmake @@ -52,6 +52,7 @@ if (NOT DESKTOP_APP_USE_PACKAGED) target_link_options(common_options INTERFACE -static-libstdc++ + -static-libgcc ) elseif (CMAKE_CXX_COMPILER_ID STREQUAL "Clang") target_link_static_libraries(common_options