summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-12-17 16:49:19 +0100
committerMichał Górny <mgorny@gentoo.org>2023-12-18 19:52:37 +0100
commitad0f2f0c066181753029de48089ade46c8c3b92e (patch)
tree11d51a91681d6eec5a8bf25de66d44315984603a /dev-lang
parentprofiles/use.desc: Make USE=opencl global (diff)
downloadgentoo-ad0f2f0c066181753029de48089ade46c8c3b92e.tar.gz
gentoo-ad0f2f0c066181753029de48089ade46c8c3b92e.tar.bz2
gentoo-ad0f2f0c066181753029de48089ade46c8c3b92e.zip
profiles/use.desc: Make USE=lto global
Add a global USE=lto flag. The flag is used semi-consistently in 31 packages, with a few adding extra information. That said, probably many of these uses are invalid, as they are equivalent to adding `-flto` to CFLAGS. Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/R/metadata.xml3
-rw-r--r--dev-lang/gnat-gpl/metadata.xml1
-rw-r--r--dev-lang/python/metadata.xml3
-rw-r--r--dev-lang/rust/metadata.xml1
-rw-r--r--dev-lang/spidermonkey/metadata.xml1
5 files changed, 0 insertions, 9 deletions
diff --git a/dev-lang/R/metadata.xml b/dev-lang/R/metadata.xml
index a1ef08b1f6c4..c5ab836c4412 100644
--- a/dev-lang/R/metadata.xml
+++ b/dev-lang/R/metadata.xml
@@ -5,9 +5,6 @@
<email>sci-mathematics@gentoo.org</email>
<name>Gentoo Mathematics Project</name>
</maintainer>
- <use>
- <flag name="lto">Use link-time optimization for R and its recommended packages.</flag>
- </use>
<longdescription lang="en">
R is GNU S, a system for statistical computation and graphics. It
consists of a language plus a run-time environment with graphics, a
diff --git a/dev-lang/gnat-gpl/metadata.xml b/dev-lang/gnat-gpl/metadata.xml
index 2f5323748c2c..9d754256f541 100644
--- a/dev-lang/gnat-gpl/metadata.xml
+++ b/dev-lang/gnat-gpl/metadata.xml
@@ -20,7 +20,6 @@
<flag name="libssp">Build SSP support into a dedicated library rather
than use the code in the C library (DO NOT ENABLE THIS IF YOU DON'T
KNOW WHAT IT DOES)</flag>
- <flag name="lto">Build using Link Time Optimizations (LTO)</flag>
<flag name="nptl">Enable support for Native POSIX Threads Library, the new threading module (requires linux-2.6 or better usually)</flag>
<flag name="objc">Build support for the Objective C code language
</flag>
diff --git a/dev-lang/python/metadata.xml b/dev-lang/python/metadata.xml
index 66d5aec84c7a..1d85e227b848 100644
--- a/dev-lang/python/metadata.xml
+++ b/dev-lang/python/metadata.xml
@@ -23,9 +23,6 @@
by running Python's test suite and collecting statistics
based on its performance. This will take longer to build.
</flag>
- <flag name="lto">
- Optimize the build using Link Time Optimization (LTO)
- </flag>
<flag name="valgrind">
Disable pymalloc when running under
<pkg>dev-util/valgrind</pkg> is detected (may incur minor
diff --git a/dev-lang/rust/metadata.xml b/dev-lang/rust/metadata.xml
index d67d2777f5ae..e28f62701eb3 100644
--- a/dev-lang/rust/metadata.xml
+++ b/dev-lang/rust/metadata.xml
@@ -12,7 +12,6 @@
<use>
<flag name="clippy">Install clippy, Rust code linter</flag>
<flag name="dist">Install dist tarballs (used for bootstrapping)</flag>
- <flag name="lto">Optimize the build using Link Time Optimization (LTO)</flag>
<flag name="miri">Install miri, an interpreter for Rust's mid-level intermediate representation (requires USE=nightly, sometimes is broken)</flag>
<flag name="nightly">Enable nightly (UNSTABLE) features (NOTE: it does not install nightly version, just enables features marked as nightly at time of release)</flag>
<flag name="parallel-compiler">Build a multi-threaded rustc (experimental, not tested by upstream)</flag>
diff --git a/dev-lang/spidermonkey/metadata.xml b/dev-lang/spidermonkey/metadata.xml
index eb50caaedbf8..451d64839c6f 100644
--- a/dev-lang/spidermonkey/metadata.xml
+++ b/dev-lang/spidermonkey/metadata.xml
@@ -8,6 +8,5 @@
<use>
<flag name="clang">Use Clang compiler instead of GCC</flag>
<flag name="debug">Enable assertions to allow for easier debugging of programs that link to spidermonkey -- note this will often crash software on regular end-user systems</flag>
- <flag name="lto">Enable Link Time Optimization (LTO)</flag>
</use>
</pkgmetadata>