summaryrefslogtreecommitdiff
path: root/dev-ruby/elasticsearch-api/elasticsearch-api-9.0.2.ebuild
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2025-11-10 04:04:50 +0000
committerSam James <sam@gentoo.org>2025-11-16 05:50:33 +0000
commita4eae64aa24da57d3f6292768565ed3a4115c99a (patch)
tree622d67ec33c37a7ef12023f3043af88add5fa436 /dev-ruby/elasticsearch-api/elasticsearch-api-9.0.2.ebuild
parent4b8f97f30fff5579289f5ee16c7b0d42fae18625 (diff)
downloadgentoo-a4eae64aa24da57d3f6292768565ed3a4115c99a.tar.gz
gentoo-a4eae64aa24da57d3f6292768565ed3a4115c99a.tar.bz2
gentoo-a4eae64aa24da57d3f6292768565ed3a4115c99a.zip
meson.eclass: support incremental LTO for GCC
Support -flto-incremental=/path/to/cache being used with GCC. Personally, I am using this hook in /etc/portage/bashrc: ``` pre_src_configure() { if [[ -n ${PORTAGE_LTO_CACHE} ]] ; then local lto_path=/var/tmp/portage/lto/${CATEGORY}/${PN} mkdir -p "${lto_path}" export CFLAGS="${CFLAGS} -flto-incremental=${lto_path} -flto-compression-level=19" export CXXFLAGS="${CXXFLAGS} -flto-incremental=${lto_path} -flto-compression-level=19" export LDFLAGS="${LDFLAGS} -flto-incremental=${lto_path} -flto-compression-level=19" fi } ``` ... and then `PORTAGE_LTO_CACHE=1` in my development environment. Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-ruby/elasticsearch-api/elasticsearch-api-9.0.2.ebuild')
0 files changed, 0 insertions, 0 deletions