summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/gmp/metadata.xml')
-rw-r--r--dev-libs/gmp/metadata.xml33
1 files changed, 22 insertions, 11 deletions
diff --git a/dev-libs/gmp/metadata.xml b/dev-libs/gmp/metadata.xml
index e98fbcba6811..c85682bf90a4 100644
--- a/dev-libs/gmp/metadata.xml
+++ b/dev-libs/gmp/metadata.xml
@@ -1,15 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<maintainer type="project">
- <email>toolchain@gentoo.org</email>
- <name>Gentoo Toolchain Project</name>
-</maintainer>
-<use>
- <flag name="asm">Enable use of hand optimized assembly routines (faster execution)</flag>
- <flag name="pic">Force static libraries to be built as PIC to avoid TEXTRELs.</flag>
-</use>
-<upstream>
- <remote-id type="cpe">cpe:/a:gmplib:gmp</remote-id>
-</upstream>
+ <maintainer type="project">
+ <email>toolchain@gentoo.org</email>
+ <name>Gentoo Toolchain Project</name>
+ </maintainer>
+ <use>
+ <flag name="cpudetection">
+ Enables runtime CPU detection (useful for binpkgs, compatibility on other CPUs).
+
+ This only works on amd64/x86 at present.
+
+ If this flag is enabled, GMP will work on a variety of amd64/x86 CPUs and load accelerated
+ routines for use at runtime depending on the CPU in use. This makes it suitable
+ for binary packages (binpkgs).
+
+ If this flag is disabled, GMP will be tuned for the CPU being used at build-time
+ and may not be usable on other machines.
+ </flag>
+ <flag name="pic">Force static libraries to be built as PIC to avoid TEXTRELs.</flag>
+ </use>
+ <upstream>
+ <remote-id type="cpe">cpe:/a:gmplib:gmp</remote-id>
+ </upstream>
</pkgmetadata>