From 730eb66eaf705eb6b0c2b31821f50bcd5b4a2a35 Mon Sep 17 00:00:00 2001 From: Aleix Pol Date: Tue, 29 Jun 2021 18:59:09 +0200 Subject: Enable the usage of -Bsymbolic-functions Checks if the compiler supports it and if so it enables it by default. This is useful as it allows to perform internal linking operations at build time that otherwise would have been delayed until process startup time. --- kde-modules/KDEFrameworkCompilerSettings.cmake | 1 + 1 file changed, 1 insertion(+) (limited to 'kde-modules/KDEFrameworkCompilerSettings.cmake') diff --git a/kde-modules/KDEFrameworkCompilerSettings.cmake b/kde-modules/KDEFrameworkCompilerSettings.cmake index d7165f57..6b17fde9 100644 --- a/kde-modules/KDEFrameworkCompilerSettings.cmake +++ b/kde-modules/KDEFrameworkCompilerSettings.cmake @@ -38,6 +38,7 @@ if (NOT CMAKE_CXX_STANDARD) endif() set(KDE_COMPILERSETTINGS_LEVEL 5.84.0) +set(ENABLE_BSYMBOLICFUNCTIONS ON) include(KDECompilerSettings NO_POLICY_SCOPE) add_definitions(-DQT_NO_CAST_TO_ASCII -- cgit v1.2.1