there was already parts of that in the makefile that would require running "make gb_GCOV=YES" - but that alone was not enough, you were also kinda expected to set LDFLAGS on the commandline (or at least it had bitrotted to this state) - so just make it into a proper configure switch. Building with lto fails at least on baseline with /opt/rh/gcc-toolset-12/root/usr/libexec/gcc/x86_64-redhat-linux/12/ld: /tmp/ccaE1KD4.ltrans31.ltrans.o:(.data.rel.ro.local+0x3befe0) : undefined reference to `.L1' /opt/rh/gcc-toolset-12/root/usr/libexec/gcc/x86_64-redhat-linux/12/ld: /tmp/ccaE1KD4.ltrans31.ltrans.o:(.data.rel.ro.local+0x3befe8) : undefined reference to `.L1' /opt/rh/gcc-toolset-12/root/usr/libexec/gcc/x86_64-redhat-linux/12/ld: /tmp/ccaE1KD4.ltrans31.ltrans.o:(.data.rel.ro.local+0x3bf018) : undefined reference to `.L2' /opt/rh/gcc-toolset-12/root/usr/libexec/gcc/x86_64-redhat-linux/12/ld: /tmp/ccaE1KD4.ltrans31.ltrans.o:(.data.rel.ro.local+0x3bf020) : undefined reference to `.L2' […many more of those with incrementing references…] So for now warn if both are used. Change-Id: I2c3427b48174de77a6894293a5e784df8ee24bd1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/186821 Tested-by: Jenkins Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
CPython implementation of Python 3 from http://www.python.org