1
0

Fix android builds (#4432)

* Terminate android build script early if any step fails

* Remove deprecated android types

* Use android NDK cmake support rather than cmake android NDK support as that support is better supported

* Android uses GNU strerror_r?

* Fix compilation

* Rebase

* Fix final issues

* Drop submodule changes

* Revert change

* Parentheses

* Lower api levels

* Don't use GNU strerror_r for Android

Co-authored-by: Mat <mail@mathias.is>
This commit is contained in:
Alexander Harkness
2020-01-02 01:54:40 +00:00
committed by Mat
parent 57a248bfbf
commit bf10b56638
4 changed files with 23 additions and 27 deletions

View File

@@ -22,7 +22,7 @@ include_directories(SYSTEM
)
# Disable some compiler warnings (the lazy way out)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-double-promotion")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-double-promotion -Wno-sign-conversion")
# Build the rest of the server
add_subdirectory(../ Cuberite)