Add /safeseh for 32bit msvc libcontext
Special flag thats default for modern platforms already
This commit is contained in:
parent
8cb127b8e4
commit
ccaf352a5e
|
@ -18,6 +18,7 @@ if( MSVC )
|
||||||
|
|
||||||
if( NOT LIBCONTEXT_USE_WINFIBER )
|
if( NOT LIBCONTEXT_USE_WINFIBER )
|
||||||
if ( NOT CMAKE_SIZEOF_VOID_P EQUAL 8 )
|
if ( NOT CMAKE_SIZEOF_VOID_P EQUAL 8 )
|
||||||
|
set( CMAKE_ASM_MASM_FLAGS "${CMAKE_ASM_MASM_FLAGS} /safeseh" )
|
||||||
list(APPEND LIBCONTEXT_SOURCES
|
list(APPEND LIBCONTEXT_SOURCES
|
||||||
make_i386_ms_pe_masm.asm
|
make_i386_ms_pe_masm.asm
|
||||||
jump_i386_ms_pe_masm.asm
|
jump_i386_ms_pe_masm.asm
|
||||||
|
|
Loading…
Reference in New Issue