[cmake]: Fix aarch linux cmake compile error

Change CMAKE_SYSTEM_PROCESSOR from armv8 to armv8-a

Change-Id: I4e0021a44b933813d336383b5363170ecf2b7027
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
This commit is contained in:
syzby 2019-08-22 13:58:37 +08:00 committed by Herman Chen
parent 8ca9d3cec7
commit 451ae59386

View File

@ -5,7 +5,7 @@ SET(CMAKE_SYSTEM_NAME Linux)
SET(CMAKE_C_COMPILER "aarch64-linux-gnu-gcc")
SET(CMAKE_CXX_COMPILER "aarch64-linux-gnu-g++")
#SET(CMAKE_SYSTEM_PROCESSOR "armv7-a")
SET(CMAKE_SYSTEM_PROCESSOR "armv8")
SET(CMAKE_SYSTEM_PROCESSOR "armv8-a")
add_definitions(-fPIC)
add_definitions(-DARMLINUX)