Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[Android] Enable hard-float support. Requires Android NDK r9b.
  • Loading branch information
Sonicadvance1 committed Nov 24, 2013
1 parent 13578dc commit 2c09e8f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CMakeLists.txt
Expand Up @@ -289,6 +289,10 @@ if(ANDROID)
set(USE_WAYLAND 0)
set(USE_UPNP 0)
set(USE_GLES3 1)
if(ANDROID_NDK_ABI_NAME STREQUAL "armeabi-v7a")
message("Enabling hard-float")
add_definitions(-mhard-float)
endif()
endif()

# For now GLES and EGL are tied to each other.
Expand Down
1 change: 1 addition & 0 deletions Source/Core/DolphinWX/CMakeLists.txt
Expand Up @@ -187,6 +187,7 @@ if(ANDROID)
target_link_libraries(${DOLPHIN_EXE}
log
android
"-Wl,--no-warn-mismatch"
"-Wl,--whole-archive"
${LIBS}
"-Wl,--no-whole-archive"
Expand Down

0 comments on commit 2c09e8f

Please sign in to comment.