summaryrefslogtreecommitdiff
path: root/Documentation/env/debug-build
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/env/debug-build')
-rw-r--r--Documentation/env/debug-build7
1 files changed, 7 insertions, 0 deletions
diff --git a/Documentation/env/debug-build b/Documentation/env/debug-build
new file mode 100644
index 00000000000..8806a092509
--- /dev/null
+++ b/Documentation/env/debug-build
@@ -0,0 +1,7 @@
+CFLAGS="-O0 -ggdb"
+CXXFLAGS="${CFLAGS}"
+# You can use either nostrip or splitdebug - refer to
+# http://www.gentoo.org/proj/en/qa/backtraces.xml
+# for more information
+FEATURES="${FEATURES} nostrip"
+USE="${USE} debug"