--- mold-2.42.1/third-party/tbb/cmake/compilers/GNU.cmake.orig 2026-09-11 08:56:48.000000000 +0200 +++ mold-2.42.1/third-party/tbb/cmake/compilers/GNU.cmake 2026-09-16 23:23:19.716677745 +0200 @@ -107,7 +107,7 @@ set(TBB_COMMON_COMPILE_FLAGS ${TBB_COMMON_COMPILE_FLAGS} -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv) set(TBB_COMMON_COMPILE_FLAGS ${TBB_COMMON_COMPILE_FLAGS} -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong ) -if (CMAKE_SYSTEM_PROCESSOR MATCHES "(AMD64|amd64|i.86|x86)" AND NOT EMSCRIPTEN) +if (CMAKE_SYSTEM_PROCESSOR MATCHES "(AMD64|amd64|i686|x86)" AND NOT EMSCRIPTEN) set(TBB_LIB_COMPILE_FLAGS ${TBB_LIB_COMPILE_FLAGS} $<$>:-fcf-protection=full>) endif () set(TBB_LIB_COMPILE_FLAGS ${TBB_LIB_COMPILE_FLAGS} $<$>:-fstack-clash-protection>)