message: Use proper coverage flags according to the compiler
diff: @@ -7,7 +7,10 @@ if(REALM_COVERAGE)
  message(FATAL_ERROR
  "Code coverage is not yet supported on Visual Studio builds")
  else()
  - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} --coverage -fprofile-arcs -ftest-coverage -fno-inline -fno-elide-constructors")
  + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} --coverage -fprofile-arcs -ftest-coverage -fno-elide-constructors")
  + if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
  + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-inline -fno-inline-small-functions -fno-default-inline")
  + endif()
  endif()
  endif()
  