mirror of
https://github.com/rockchip-linux/mpp.git
synced 2024-11-30 21:44:57 +08:00
[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:
parent
8ca9d3cec7
commit
451ae59386
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user