CMake: Update description of the Intel CET feature

Use a more detailed description instead.

Also adds the missing part of the GCC parameter.

Amends commit qtbase/42287255d38bf493b5731396b99bc9cd7b1baba4

References:
https://gcc.gnu.org/onlinedocs/gcc-12.1.0/gcc/Instrumentation-Options.html#Instrumentation-Options

Change-Id: I94a22ac7dfa80644e92fe01021f7868dfa02dd69
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
Yuhang Zhao 2022-06-23 11:39:58 +08:00
parent 03849286f0
commit 6af63c8256
2 changed files with 2 additions and 2 deletions

View File

@ -284,7 +284,7 @@ if(QT_FEATURE_intelcet)
)
else()
target_compile_options(PlatformCommonInternal INTERFACE
-fcf-protection
-fcf-protection=full
)
endif()
endif()

View File

@ -983,7 +983,7 @@ qt_feature("relocatable" PRIVATE
CONDITION QT_FEATURE_dlopen OR WIN32 OR NOT QT_FEATURE_shared
)
qt_feature("intelcet" PRIVATE
LABEL "Using Intel CET"
LABEL "Using Intel Control-flow Enforcement Technology (CET)"
CONDITION ( INPUT_intelcet STREQUAL yes ) OR TEST_intelcet
)
qt_configure_add_summary_build_type_and_config()