message: Work around unaligned stack with clang 11.
  Optimized macOS builds can trigger "stack_not_16_byte_aligned_error"
  when building with clang 11. We happen to see this with resgen but it
  could happen anywhere.
  Fixes
diff: @@ -224,6 +224,12 @@ if (NOT CLANG_CL AND NOT MSVC AND NOT WEBGL)
  endif()
  set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} ${EXTRA_SANITIZE_OPTIONS}")
  +# Disable the stack check for macOS to workaround a known issue in clang 11.0.0.
  +# See: https://forums.developer.apple.com/thread/121887
  +if (APPLE)
  + set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -fno-stack-check")
  +endif()
  +
  # ==================================================================================================
  # Linker flags
  # ==================================================================================================
  