summaryrefslogtreecommitdiff
path: root/docs/storage-mgt
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2010-06-16 16:11:08 +0000
committerIan Lynagh <igloo@earth.li>2010-06-16 16:11:08 +0000
commit0481fe092fd9e274096fff1fd9885fd68805202a (patch)
treeba7baf38df64f98b8784ba57e970cc9fdeaf568c /docs/storage-mgt
parent8a0d9617d2b9741c25fb1ed20b96b054bd3254a3 (diff)
downloadhaskell-0481fe092fd9e274096fff1fd9885fd68805202a.tar.gz
Rename some variables from FOO to FOO_CMD
This fixes a problem with commands like gzip, where if $GZIP is exported in the environment, then when make runs a command it'll put the Makefile variable's value in the environment. But gzip treats $GZIP as arguments for itself, so when we run gzip it thinks we're giving it "gzip" as an argument.
Diffstat (limited to 'docs/storage-mgt')
-rw-r--r--docs/storage-mgt/rp.tex4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/storage-mgt/rp.tex b/docs/storage-mgt/rp.tex
index 2055894282..c8521901a6 100644
--- a/docs/storage-mgt/rp.tex
+++ b/docs/storage-mgt/rp.tex
@@ -176,14 +176,14 @@ Installing the GHC is done as follows:
SplitObjs = NO
GhcRtsHcOpts =
GhcRtsCcOpts = -g
- STRIP =:
+ STRIP_CMD =:
\end{code}
@GhcLibWays@ tells the compiler to build the code for profiling as well.
@GhcRtsHcOpts@ has additional flags for @gcc@ when compiling @.hc@ files.
@GhcRtsCcOpts@ has additional flags for @gcc@ when compiling @.c@ files.
Since we will implement retainer profiling in @.c@ files, we turn on the
debugging flag @-g@.
-The empty setting for @STRIP@ tells the compiler not to remove source code
+The empty setting for @STRIP_CMD@ tells the compiler not to remove source code
information (generated due to the @-g@ option) from executable files so that
they can be examined with @gdb@.