Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[ANDROID] Fix ARMv5 build.
  • Loading branch information
Sonicadvance1 committed Nov 30, 2013
1 parent 2ad686a commit 1dfe303
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CMakeLists.txt
Expand Up @@ -122,7 +122,9 @@ message(${CMAKE_SYSTEM_PROCESSOR})
if(${CMAKE_SYSTEM_PROCESSOR} MATCHES "^arm")
set(_M_GENERIC 1)
set(_M_ARM 1)
add_definitions(-marm -march=armv7-a)
if(${ANDROID_NDK_ABI_NAME} STREQUAL "armeabi-v7a")
add_definitions(-marm -march=armv7-a)
endif()
# Set generic options so you don't have to pass anything to cmake to build ARM
set(USE_GLES 1)
endif()
Expand Down

0 comments on commit 1dfe303

Please sign in to comment.