diff options
author | Sam James <sam@gentoo.org> | 2022-06-11 08:13:38 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-06-11 08:14:16 +0100 |
commit | 927204470935f67016aeea6f3c285794def9f0a9 (patch) | |
tree | 0575c3e9eb73189a5d7658eea83c283edadfe4db /app-office/libreoffice | |
parent | sci-libs/symengine: als fix user configuration for USE=llvm (diff) | |
download | gentoo-927204470935f67016aeea6f3c285794def9f0a9.tar.gz gentoo-927204470935f67016aeea6f3c285794def9f0a9.tar.bz2 gentoo-927204470935f67016aeea6f3c285794def9f0a9.zip |
app-office/libreoffice: fix gcc LTO
Closes: https://bugs.gentoo.org/838115
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-office/libreoffice')
-rw-r--r-- | app-office/libreoffice/libreoffice-7.3.4.2.ebuild | 4 | ||||
-rw-r--r-- | app-office/libreoffice/libreoffice-7.3.9999.ebuild | 4 | ||||
-rw-r--r-- | app-office/libreoffice/libreoffice-9999.ebuild | 4 |
3 files changed, 12 insertions, 0 deletions
diff --git a/app-office/libreoffice/libreoffice-7.3.4.2.ebuild b/app-office/libreoffice/libreoffice-7.3.4.2.ebuild index 767e106f3f02..ba2c51a3aab7 100644 --- a/app-office/libreoffice/libreoffice-7.3.4.2.ebuild +++ b/app-office/libreoffice/libreoffice-7.3.4.2.ebuild @@ -428,6 +428,10 @@ src_configure() { CXX=${CHOST}-g++ NM=gcc-nm RANLIB=gcc-ranlib + + # Apparently the Clang flags get used even for GCC builds sometimes. + # bug #838115 + sed -i -e "s/-flto=thin/-flto/" solenv/gbuild/platform/com_GCC_defs.mk || die fi if use custom-cflags ; then diff --git a/app-office/libreoffice/libreoffice-7.3.9999.ebuild b/app-office/libreoffice/libreoffice-7.3.9999.ebuild index 67730f9d7995..05a70aea66a3 100644 --- a/app-office/libreoffice/libreoffice-7.3.9999.ebuild +++ b/app-office/libreoffice/libreoffice-7.3.9999.ebuild @@ -423,6 +423,10 @@ src_configure() { CXX=${CHOST}-g++ NM=gcc-nm RANLIB=gcc-ranlib + + # Apparently the Clang flags get used even for GCC builds sometimes. + # bug #838115 + sed -i -e "s/-flto=thin/-flto/" solenv/gbuild/platform/com_GCC_defs.mk || die fi if use custom-cflags ; then diff --git a/app-office/libreoffice/libreoffice-9999.ebuild b/app-office/libreoffice/libreoffice-9999.ebuild index 6c87f05ed3dd..20d275f63d6f 100644 --- a/app-office/libreoffice/libreoffice-9999.ebuild +++ b/app-office/libreoffice/libreoffice-9999.ebuild @@ -423,6 +423,10 @@ src_configure() { CXX=${CHOST}-g++ NM=gcc-nm RANLIB=gcc-ranlib + + # Apparently the Clang flags get used even for GCC builds sometimes. + # bug #838115 + sed -i -e "s/-flto=thin/-flto/" solenv/gbuild/platform/com_GCC_defs.mk || die fi if use custom-cflags ; then |