https://bugs.documentfoundation.org/show_bug.cgi?id=167950

            Bug ID: 167950
           Summary: [building system]android build does not support
                    --enable-lto build option
           Product: LibreOffice
           Version: 25.8.0.0 alpha0+
          Hardware: All
                OS: Android
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: LibreOffice
          Assignee: [email protected]
          Reporter: [email protected]

Description:
When try to build libreoffice android version, enabling `--enable-lto` option
causes autogen.sh to fail with the following message:

```
checking whether clang++ supports C++20... configure: error: no
Error running configure at ./autogen.sh line 333.
```

Steps to Reproduce:
1. Clone libreoffice source
2. Checkout to libreoffice-25.8.0.1 tag
3. Add the following options to autogen.input:
```
--enable-lto
--with-distro=LibreOfficeAndroidAarch64
--with-android-sdk=$HOME/bin/android_sdk
--with-android-ndk=$HOME/bin/android_sdk/ndk/27.2.12479018
```
4. Run ./autogen.sh


Actual Results:
autogen.sh failed with the following message:
```
checking which libcmis to use... internal
checking whether clang++ supports C++20... configure: error: no
Error running configure at ./autogen.sh line 333.
```

Expected Results:
1. autogen.sh should pass the C++20 test
2. android version should built with `--enable-lto` enabled.


Reproducible: Always


User Profile Reset: Yes

Additional Info:
This is a bug report for the building system, so no `About LibreOffice` will be
provided.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to