disable split debug if --enable-lto
commit75450b3affc424cccfc68eae13a3271204108b09
authorLuboš Luňák <l.lunak@collabora.com>
Wed, 17 Nov 2021 10:43:00 +0000 (17 11:43 +0100)
committerLuboš Luňák <l.lunak@collabora.com>
Wed, 17 Nov 2021 13:11:57 +0000 (17 14:11 +0100)
treee2afda8de778d36bbf770612cede9a064f1536ed
parent32aa44e928ceb5194e37ad0a4fb2f38f1c7371c2
disable split debug if --enable-lto

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88389 is right that
split-debug doesn't make sense with LTO. Without -ffat-lto-objects
or with Clang .o files aren't even really object files that
would be normally usable. Since gcc complains if the combination
is used, explicitly avoid it.

Change-Id: I76992e94f4790238e5aaee691b5cec54fd0ef3a0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125379
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
configure.ac