File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -125,8 +125,13 @@ if(BOOST_CONTEXT_IMPLEMENTATION STREQUAL "fcontext")
125125
126126 set (IMPL_SOURCES ${ASM_SOURCES} )
127127
128- if (BOOST_CONTEXT_ASSEMBLER STREQUAL masm AND BOOST_CONTEXT_ARCHITECTURE STREQUAL i386)
129- set_source_files_properties (${ASM_SOURCES} PROPERTIES COMPILE_FLAGS "/safeseh" )
128+ if (BOOST_CONTEXT_ASSEMBLER STREQUAL masm)
129+ set_source_files_properties (${ASM_SOURCES} PROPERTIES LANGUAGE "ASM_MASM" )
130+ if (BOOST_CONTEXT_ARCHITECTURE STREQUAL i386)
131+ set_source_files_properties (${ASM_SOURCES} PROPERTIES COMPILE_FLAGS "/safeseh" )
132+ endif ()
133+ elseif (BOOST_CONTEXT_ASSEMBLER STREQUAL gas)
134+ set_source_files_properties (${ASM_SOURCES} PROPERTIES LANGUAGE "ASM-ATT" )
130135 endif ()
131136
132137else ()
You can’t perform that action at this time.
0 commit comments