File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ endif ()
107107set (TBB_COMMON_COMPILE_FLAGS ${TBB_COMMON_COMPILE_FLAGS} -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv)
108108set (TBB_COMMON_COMPILE_FLAGS ${TBB_COMMON_COMPILE_FLAGS} -Wformat -Wformat-security -Werror=format-security
109109 -fstack-protector-strong )
110- if (NOT CMAKE_SYSTEM_PROCESSOR MATCHES "aarch64 " AND NOT EMSCRIPTEN)
110+ if (CMAKE_SYSTEM_PROCESSOR MATCHES "(AMD64|amd64|i.86|x86) " AND NOT EMSCRIPTEN)
111111 set (TBB_LIB_COMPILE_FLAGS ${TBB_LIB_COMPILE_FLAGS} $<$<NOT :$<VERSION_LESS :${CMAKE_CXX_COMPILER_VERSION} ,8.0>>:-fcf-protection=full>)
112112endif ()
113113set (TBB_LIB_COMPILE_FLAGS ${TBB_LIB_COMPILE_FLAGS} $<$<NOT :$<VERSION_LESS :${CMAKE_CXX_COMPILER_VERSION} ,8.0>>:-fstack-clash-protection>)
You can’t perform that action at this time.
0 commit comments