(RPi) Fixed an invalid compiler flag on aarch64.

This commit is contained in:
Leon Styhre 2021-11-16 22:34:42 +01:00
parent 4c6bfb8b78
commit 9c1008bdd2

View file

@ -188,8 +188,10 @@ else()
endif()
# Raspberry Pi model 3 and higher (ARM Cortex-A53 minimum).
if(BCMHOST)
if(RPI_32)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -latomic -mcpu=cortex-a53 -mfpu=neon-fp-armv8")
elseif(RPI_64)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -latomic -mcpu=cortex-a53")
endif()
if(ASAN AND TSAN)