From a1ec454cbcc1a6ce9970968e3413c9a4341968d0 Mon Sep 17 00:00:00 2001 From: Ilya Fedin Date: Tue, 6 Jun 2023 05:01:23 +0400 Subject: [PATCH] Enable control flow protection --- options_linux.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/options_linux.cmake b/options_linux.cmake index 105a3b7..eca8149 100644 --- a/options_linux.cmake +++ b/options_linux.cmake @@ -81,6 +81,7 @@ if (NOT DESKTOP_APP_USE_PACKAGED OR DESKTOP_APP_SPECIAL_TARGET) INTERFACE -fstack-protector-all -fstack-clash-protection + -fcf-protection ) target_link_options(common_options INTERFACE