Error building LibreOffice under Monterey M1

Hey guys, i’m trying to build LibreOffice on Android



Error i’m getting

configure: error: Your gcc/clang is not -fvisibility-inlines-hidden safe. This is no longer supported.
configure: error: Running the configure script for BUILD side failed, see CONF-FOR-BUILD/config.log
configure: error: setup/configure for BUILD side failed, see CONF-FOR-BUILD/config.log
Error running configure at /Users/hidden/StudioProjects/core/ line 322.
make: *** [/Users/hidden/StudioProjects/core/] Error 1

gcc --version

Configured with: --prefix=/Applications/ --with-gxx-include-dir=/Applications/
Apple clang version 13.0.0 (clang-1300.0.29.30)
Target: arm64-apple-darwin21.3.0
Thread model: posix
InstalledDir: /Applications/

I’m curious, if someone ever tried to build for Android on macOS… :

We develop on Linux as the host environment.

Since your configuration is likely untested, we would be most grateful if you provide patches to enable it; but don’t expect someone to be able to tell you what to do. Indeed, you may get help regarding development on IRC and mailing list.