--- a/project/cmake/scripts/rbpi/ArchSetup.cmake 2017-09-16 15:00:59.934587072 +0200 +++ b/project/cmake/scripts/rbpi/ArchSetup.cmake 2017-09-16 15:01:34.024450521 +0200 @@ -14,10 +14,14 @@ set(ARCH arm) set(NEON False) set(NEON_FLAGS "-mcpu=arm1176jzf-s -mtune=arm1176jzf-s -mfloat-abi=hard -mfpu=vfp") - elseif(CPU MATCHES "cortex-a7" OR CPU MATCHES "cortex-a53") + elseif(CPU MATCHES "cortex-a7") set(ARCH arm) set(NEON True) set(NEON_FLAGS "-fPIC -mcpu=cortex-a7 -mfloat-abi=hard -mfpu=neon-vfpv4 -mvectorize-with-neon-quad") + elseif(CPU STREQUAL cortex-a53) + set(ARCH arm) + set(NEON True) + set(NEON_FLAGS "-fPIC -mcpu=cortex-a53 -mfloat-abi=hard -mfpu=crypto-neon-fp-armv8 -march=armv8-a+crc -funsafe-math-optimizations -mvectorize-with-neon-quad") else() message(SEND_ERROR "Unknown CPU: ${CPU}") endif()