summaryrefslogtreecommitdiffstats
path: root/configure.cmake
diff options
context:
space:
mode:
authorYuhang Zhao <2546789017@qq.com>2022-07-17 15:15:22 +0800
committerYuhang Zhao <2546789017@qq.com>2022-07-20 19:16:00 +0800
commitce9799e4c40f679cbb65aa7d006705e36ce7de97 (patch)
tree3a589a075ad58d2c46237a2fd3a74f04b826f684 /configure.cmake
parentdcc691c77d7de0f52f8c37a3727efd088cd4d9b1 (diff)
MSVC: Fix the CET parameters
To enable CET for MSVC, only passing "/CETCOMPAT" to the linker should be sufficient. Enabling generation of EH Continuation (EHCONT) metadata is additional protection and should not be necessary. It also requires all the dependencies to be re-compiled with EHCONT enabled, otherwise the linker will refuse to link the obj files. However, this is rather hard to achieve if your application depends on many 3rd-party libraries, so to let people enable CET more freely, we don't enable EHCONT guard by default. Pick-to: 6.4 Change-Id: Iba08a5ec56c474d291991fb751a0de764719bd85 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'configure.cmake')
0 files changed, 0 insertions, 0 deletions