do not enable EH continuation metadata

This commit is contained in:
Michał Trojnara 2022-07-30 00:14:57 +02:00
parent 703ae70602
commit 15185acb0a

View File

@ -74,8 +74,8 @@ function(add_compile_flags target)
# High entropy ASLR for 64 bits targets (default on)
target_link_options(${target} PRIVATE /HIGHENTROPYVA)
# Enable generation of EH Continuation (EHCONT) metadata by the compiler
target_compile_options(${target} PRIVATE /guard:ehcont)
target_link_options(${target} PRIVATE /guard:ehcont)
#target_compile_options(${target} PRIVATE /guard:ehcont)
#target_link_options(${target} PRIVATE /guard:ehcont)
else()
# Can handle addresses larger than 2 gigabytes
target_link_options(${target} PRIVATE /LARGEADDRESSAWARE)