diff --git a/cmake/abi_check.cmake b/cmake/abi_check.cmake index 98877be9351..23ef2f9d9b3 100644 --- a/cmake/abi_check.cmake +++ b/cmake/abi_check.cmake @@ -22,7 +22,7 @@ # only be run on Unix and only if gcc is used. On some Unixes, # (Solaris) sed or diff might act differently from GNU, so we run only # on systems we can trust. -IF(APPLE OR CMAKE_SYSTEM_NAME MATCHES "Linux") +IF((APPLE OR CMAKE_SYSTEM_NAME MATCHES "Linux") AND NOT CMAKE_SYSTEM_PROCESSOR STREQUAL "e2k") SET(RUN_ABI_CHECK 1) ELSE() SET(RUN_ABI_CHECK 0)