зеркало из https://github.com/microsoft/CCF.git
Revert "Activate Spectre mitigations for SNP builds" (#4961)
This commit is contained in:
Родитель
f0f95f4950
Коммит
048add256b
|
@ -1,4 +1,4 @@
|
|||
___ ___
|
||||
(- *) (o o) | Y & +
|
||||
( V ) < v > O +---'---'
|
||||
/--x-m- /--m-m---xXx--/--yy-------
|
||||
/--x-m- /--m-m---xXx--/--yy-----
|
||||
|
|
|
@ -74,11 +74,4 @@ function(add_warning_checks name)
|
|||
)
|
||||
endfunction()
|
||||
|
||||
set(SPECTRE_MITIGATION_FLAGS -mllvm -x86-speculative-load-hardening)
|
||||
if("${COMPILE_TARGET}" STREQUAL "snp")
|
||||
if(NOT "${CMAKE_BUILD_TYPE}" STREQUAL "Debug")
|
||||
add_compile_options(${SPECTRE_MITIGATION_FLAGS})
|
||||
endif()
|
||||
endif()
|
||||
|
||||
set(CMAKE_CXX_STANDARD 20)
|
||||
|
|
Загрузка…
Ссылка в новой задаче