mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07:00
[Android] Enable hard-float support. Requires Android NDK r9b.
This commit is contained in:
parent
13578dc0b3
commit
2c09e8fc5a
@ -289,6 +289,10 @@ if(ANDROID)
|
|||||||
set(USE_WAYLAND 0)
|
set(USE_WAYLAND 0)
|
||||||
set(USE_UPNP 0)
|
set(USE_UPNP 0)
|
||||||
set(USE_GLES3 1)
|
set(USE_GLES3 1)
|
||||||
|
if(ANDROID_NDK_ABI_NAME STREQUAL "armeabi-v7a")
|
||||||
|
message("Enabling hard-float")
|
||||||
|
add_definitions(-mhard-float)
|
||||||
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# For now GLES and EGL are tied to each other.
|
# For now GLES and EGL are tied to each other.
|
||||||
|
@ -187,6 +187,7 @@ if(ANDROID)
|
|||||||
target_link_libraries(${DOLPHIN_EXE}
|
target_link_libraries(${DOLPHIN_EXE}
|
||||||
log
|
log
|
||||||
android
|
android
|
||||||
|
"-Wl,--no-warn-mismatch"
|
||||||
"-Wl,--whole-archive"
|
"-Wl,--whole-archive"
|
||||||
${LIBS}
|
${LIBS}
|
||||||
"-Wl,--no-whole-archive"
|
"-Wl,--no-whole-archive"
|
||||||
|
Loading…
Reference in New Issue
Block a user