diff options
author | 2024-01-18 17:03:50 -0500 | |
---|---|---|
committer | 2024-01-24 06:54:39 +0000 | |
commit | 198d1cae195f4d8807f3092933bc9a45a939207b (patch) | |
tree | fbb66397bdd0324fda31e9c0f1003a3185718d34 /app-office/libreoffice/libreoffice-9999.ebuild | |
parent | net-misc/ntpsec: migrate checking for enabled lto, to tc-is-lto (diff) | |
download | gentoo-198d1cae195f4d8807f3092933bc9a45a939207b.tar.gz gentoo-198d1cae195f4d8807f3092933bc9a45a939207b.tar.bz2 gentoo-198d1cae195f4d8807f3092933bc9a45a939207b.zip |
app-office/libreoffice: migrate checking for enabled lto, to tc-is-lto
This toolchain func was recently added, and is a lot more reliable than
get-flagq, for example if the active flags contain `-flto -fno-lto` then
tc-is-lto gets it correct. We would rather use this wherever possible.
Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-office/libreoffice/libreoffice-9999.ebuild')
-rw-r--r-- | app-office/libreoffice/libreoffice-9999.ebuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app-office/libreoffice/libreoffice-9999.ebuild b/app-office/libreoffice/libreoffice-9999.ebuild index 3d488003abe7..46798bb521b1 100644 --- a/app-office/libreoffice/libreoffice-9999.ebuild +++ b/app-office/libreoffice/libreoffice-9999.ebuild @@ -572,7 +572,7 @@ src_configure() { myeconfargs+=( --with-rhino-jar=$(java-pkg_getjar rhino-1.6 rhino.jar) ) fi - is-flagq "-flto*" && myeconfargs+=( --enable-lto ) + tc-is-lto && myeconfargs+=( --enable-lto ) MARIADBCONFIG="$(type -p $(usex mariadb mariadb mysql)_config)" \ econf "${myeconfargs[@]}" |