[Android] Enable hard-float support. Requires Android NDK r9b.

This commit is contained in:
Ryan Houdek 2013-11-24 16:43:53 -06:00
parent 13578dc0b3
commit 2c09e8fc5a
2 changed files with 5 additions and 0 deletions

View File

@ -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.

View File

@ -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"