parent
a5acf1b966
commit
fab8bc3f72
|
@ -546,10 +546,11 @@ function(setup_compile_params)
|
||||||
elseif(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
|
elseif(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
|
||||||
target_compile_options(${__target} PRIVATE
|
target_compile_options(${__target} PRIVATE
|
||||||
$<$<NOT:$<CONFIG:Debug>>:
|
$<$<NOT:$<CONFIG:Debug>>:
|
||||||
-mindirect-branch=thunk
|
#-mindirect-branch=thunk
|
||||||
-mfunction-return=thunk
|
#-mfunction-return=thunk
|
||||||
-mindirect-branch-register
|
#-mindirect-branch-register
|
||||||
-mindirect-branch-cs-prefix
|
#-mindirect-branch-cs-prefix
|
||||||
|
-fcf-protection=full
|
||||||
>
|
>
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Reference in New Issue