summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-04-17 01:32:25 +0100
committerSam James <sam@gentoo.org>2023-04-17 01:50:47 +0100
commit1221c15b4ad01e2de08f169f1512ab8139391e8e (patch)
treea6755144780934105056b322f82e0a37a36a330c /sys-devel
parentnet-im/gajim: Specify slot dependency on gupnp-igd (diff)
downloadgentoo-1221c15b4ad01e2de08f169f1512ab8139391e8e.tar.gz
gentoo-1221c15b4ad01e2de08f169f1512ab8139391e8e.tar.bz2
gentoo-1221c15b4ad01e2de08f169f1512ab8139391e8e.zip
sys-devel/gcc: add USE=debug description
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-devel')
-rw-r--r--sys-devel/gcc/metadata.xml10
1 files changed, 10 insertions, 0 deletions
diff --git a/sys-devel/gcc/metadata.xml b/sys-devel/gcc/metadata.xml
index d1c5c038131d..da28d6809a07 100644
--- a/sys-devel/gcc/metadata.xml
+++ b/sys-devel/gcc/metadata.xml
@@ -24,6 +24,16 @@
code is therefore compatible with i686 at the earliest.
</flag>
<flag name="d">Enable support for the D programming language</flag>
+ <flag name="debug">
+ Enables GCC's 'checking' facility via --enable-checking=yes,extra,rtl.
+
+ This adds checks to various compiler passes for integrity and input
+ validation. This can help catch possible miscompilations early as
+ well as latent bugs which could become real problems in future, but
+ at the cost of slower compile times when using GCC.
+
+ Unrelated to backtraces.
+ </flag>
<flag name="default-stack-clash-protection">
Build packages with stack clash protection on by default as
a hardening measure.