mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-24 15:01:16 +01:00
Enables ARMv7 build options entirely on ARM.
We only support ARMv7 with Dolphin, so if we are building on ARM have our target be for armv7-a.
This commit is contained in:
parent
b0becf7af8
commit
eb7543d139
@ -153,9 +153,7 @@ if(NOT ENABLE_GENERIC)
|
|||||||
set(_M_ARM 1)
|
set(_M_ARM 1)
|
||||||
set(_M_ARM_32 1)
|
set(_M_ARM_32 1)
|
||||||
add_definitions(-D_M_ARM=1 -D_M_ARM_32=1)
|
add_definitions(-D_M_ARM=1 -D_M_ARM_32=1)
|
||||||
if(${ANDROID_NDK_ABI_NAME} MATCHES "armeabi-v7a")
|
|
||||||
add_definitions(-marm -march=armv7-a)
|
add_definitions(-marm -march=armv7-a)
|
||||||
endif()
|
|
||||||
elseif(${CMAKE_SYSTEM_PROCESSOR} MATCHES "aarch64")
|
elseif(${CMAKE_SYSTEM_PROCESSOR} MATCHES "aarch64")
|
||||||
# This option only applies to 64bit ARM
|
# This option only applies to 64bit ARM
|
||||||
set(_M_ARM 1)
|
set(_M_ARM 1)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user