diff --git a/android/CMakeLists.txt b/android/CMakeLists.txt index 99eada26f..51df60cdc 100644 --- a/android/CMakeLists.txt +++ b/android/CMakeLists.txt @@ -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 -Wno-sign-conversion") +set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-double-promotion -Wno-sign-conversion -Wno-unused-command-line-argument -s") # Build the rest of the server add_subdirectory(../ Cuberite)