Allow arch string of amd64
@@ -89,12 +89,12 @@ IF(${CMAKE_SYSTEM_PROCESSOR} STREQUAL ppc64le)
SET(CLOCK ppc64le)
ENDIF(${CMAKE_SYSTEM_PROCESSOR} STREQUAL ppc64le)
-IF(${CMAKE_SYSTEM_PROCESSOR} STREQUAL x86_64)
+IF((${CMAKE_SYSTEM_PROCESSOR} STREQUAL x86_64) OR (${CMAKE_SYSTEM_PROCESSOR} STREQUAL amd64))
SET(VALID_ARCH YES)
SET(CMAKE_CXX_FLAGS "${CMAKE_C_FLAGS}")
ADD_DEFINITIONS(-D_GNU_SOURCE)
SET(CLOCK amd64)
-ENDIF(${CMAKE_SYSTEM_PROCESSOR} STREQUAL x86_64)
+ENDIF((${CMAKE_SYSTEM_PROCESSOR} STREQUAL x86_64) OR (${CMAKE_SYSTEM_PROCESSOR} STREQUAL amd64))
IF(${CMAKE_SYSTEM_PROCESSOR} STREQUAL aarch64)
SET(VALID_ARCH YES)
