diff --git a/CMakeLists.txt b/CMakeLists.txt index 0ea0b71..543601d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -69,7 +69,8 @@ if(HAS_FULL_RELRO) endif() cmake_pop_check_state() -if(CMAKE_SYSTEM_PROCESSOR STREQUAL aarch64) +if(CMAKE_SYSTEM_PROCESSOR STREQUAL aarch64 OR CMAKE_SYSTEM_PROCESSOR STREQUAL + arm64) add_compile_options(-mbranch-protection=standard) else() add_compile_options(-fcf-protection)