Add /safeseh for 32bit msvc libcontext

Special flag thats default for modern platforms already
This commit is contained in:
Marek Roszko 2021-03-04 22:20:45 -05:00
parent 8cb127b8e4
commit ccaf352a5e
1 changed files with 1 additions and 0 deletions

View File

@ -18,6 +18,7 @@ if( MSVC )
if( NOT LIBCONTEXT_USE_WINFIBER )
if ( NOT CMAKE_SIZEOF_VOID_P EQUAL 8 )
set( CMAKE_ASM_MASM_FLAGS "${CMAKE_ASM_MASM_FLAGS} /safeseh" )
list(APPEND LIBCONTEXT_SOURCES
make_i386_ms_pe_masm.asm
jump_i386_ms_pe_masm.asm