aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/cpt.org7
-rw-r--r--docs/cpt.texi6
-rw-r--r--docs/cpt.txt6
3 files changed, 19 insertions, 0 deletions
diff --git a/docs/cpt.org b/docs/cpt.org
index 3896909..b3fc97b 100644
--- a/docs/cpt.org
+++ b/docs/cpt.org
@@ -235,6 +235,13 @@ to provide detailed information.
#+VINDEX: CPT_KEEPLOG
If set to 1, =cpt= will keep logs regardless of operation success.
+- ~CPT_NOSTRIP~ ::
+
+ #+VINDEX: CPT_NOSTRIP
+ If set to 1, =cpt= will not strip debug information from the binaries. Keep in
+ mind that your compiler already strips most debug information during
+ compilation, so you also need to add ~-g~ flag to your ~$C{XX}FLAGS~
+
- ~CPT_PID~ ::
#+VINDEX: CPT_PID
diff --git a/docs/cpt.texi b/docs/cpt.texi
index b34b343..e6b331c 100644
--- a/docs/cpt.texi
+++ b/docs/cpt.texi
@@ -357,6 +357,12 @@ Absolute path to the package manager hook file.
@vindex CPT_KEEPLOG
If set to 1, @samp{cpt} will keep logs regardless of operation success.
+@item @code{CPT_NOSTRIP}
+@vindex CPT_NOSTRIP
+If set to 1, @samp{cpt} will not strip debug information from the binaries. Keep in
+mind that your compiler already strips most debug information during
+compilation, so you also need to add @code{-g} flag to your @code{$C@{XX@}FLAGS}
+
@item @code{CPT_PID}
@vindex CPT_PID
Set the temporary build directory name.
diff --git a/docs/cpt.txt b/docs/cpt.txt
index beaa488..08433e9 100644
--- a/docs/cpt.txt
+++ b/docs/cpt.txt
@@ -295,6 +295,12 @@ development logs see [the fossil repository].
If set to 1, `cpt' will keep logs regardless of operation
success.
+ `CPT_NOSTRIP'
+ If set to 1, `cpt' will not strip debug information from the
+ binaries. Keep in mind that your compiler already strips most
+ debug information during compilation, so you also need to add
+ `-g' flag to your `$C{XX}FLAGS'
+
`CPT_PID'
Set the temporary build directory name.