summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-07-12 10:31:55 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-07-12 10:31:55 +0100
commiteb3ae345f026de053870dfa589779989d300ebef (patch)
tree1bea6ba3fbb1dca4db8c0cf9d9025d1e3e26f96a /eclass
parent0e24de4e7c207a09710001af8230df7892eb73d4 (diff)
gentoo auto-resync : 12:07:2023 - 10:31:55
Diffstat (limited to 'eclass')
-rw-r--r--eclass/Manifest.gzbin37985 -> 37982 bytes
-rw-r--r--eclass/cargo.eclass3
2 files changed, 2 insertions, 1 deletions
diff --git a/eclass/Manifest.gz b/eclass/Manifest.gz
index d43ba77ec598..346faf76aa24 100644
--- a/eclass/Manifest.gz
+++ b/eclass/Manifest.gz
Binary files differ
diff --git a/eclass/cargo.eclass b/eclass/cargo.eclass
index 2ff1f042ba79..70b6008d9cd8 100644
--- a/eclass/cargo.eclass
+++ b/eclass/cargo.eclass
@@ -43,7 +43,7 @@ case ${EAPI} in
;;
esac
-inherit multiprocessing toolchain-funcs
+inherit flag-o-matic multiprocessing toolchain-funcs
[[ ! ${CARGO_OPTIONAL} ]] && BDEPEND="${RUST_DEPEND}"
@@ -513,6 +513,7 @@ cargo_src_compile() {
[[ ${_CARGO_GEN_CONFIG_HAS_RUN} ]] || \
die "FATAL: please call cargo_gen_config before using ${FUNCNAME}"
+ filter-lto
tc-export AR CC CXX PKG_CONFIG
set -- cargo build $(usex debug "" --release) ${ECARGO_ARGS[@]} "$@"