From dbc1e4fb358faeda2abec4f32336eab1d7552922 Mon Sep 17 00:00:00 2001 From: Ilya Fedin Date: Sun, 19 Sep 2021 09:29:52 +0400 Subject: [PATCH] Use whole-program optimization to eliminate linking of unused symbols --- options_linux.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/options_linux.cmake b/options_linux.cmake index eef76c8..2797c7b 100644 --- a/options_linux.cmake +++ b/options_linux.cmake @@ -95,6 +95,7 @@ if (NOT DESKTOP_APP_USE_PACKAGED) INTERFACE -pthread -rdynamic + -fwhole-program ) endif()