aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2010-10-22 12:54:34 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2010-10-22 12:54:34 +0000
commited50d3855345113cedbe6517d8801b3fe61a7d2b (patch)
treea12f4dd787e4c232467e8511f322d5cbefc0c9bb /docs
parent9cf3b58ebbcb8eac5480a4ac1c2a774b9ced8a42 (diff)
downloadexternal_llvm-ed50d3855345113cedbe6517d8801b3fe61a7d2b.zip
external_llvm-ed50d3855345113cedbe6517d8801b3fe61a7d2b.tar.gz
external_llvm-ed50d3855345113cedbe6517d8801b3fe61a7d2b.tar.bz2
Standardise all build-mode affecting {EN,DIS}ABLE_* make options to
test equality to 1, and fix/update documentation to reflect this git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117094 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
-rw-r--r--docs/MakefileGuide.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/MakefileGuide.html b/docs/MakefileGuide.html
index a66f78a..2ef0954 100644
--- a/docs/MakefileGuide.html
+++ b/docs/MakefileGuide.html
@@ -640,18 +640,18 @@
generate dependencies when running the compiler. Use of this feature is
discouraged and it may be removed at a later date.</dd>
<dt><a name="ENABLE_OPTIMIZED"><tt>ENABLE_OPTIMIZED</tt></a></dt>
- <dd>If set to any value, causes the build to generate optimized objects,
+ <dd>If set to 1, causes the build to generate optimized objects,
libraries and executables. This alters the flags specified to the compilers
and linkers. Generally debugging won't be a fun experience with an optimized
build.</dd>
<dt><a name="ENABLE_PROFILING"><tt>ENABLE_PROFILING</tt></a></dt>
- <dd>If set to any value, causes the build to generate both optimized and
+ <dd>If set to 1, causes the build to generate both optimized and
profiled objects, libraries and executables. This alters the flags specified
to the compilers and linkers to ensure that profile data can be collected
from the tools built. Use the <tt>gprof</tt> tool to analyze the output from
the profiled tools (<tt>gmon.out</tt>).</dd>
<dt><a name="DISABLE_ASSERTIONS"><tt>DISABLE_ASSERTIONS</tt></a></dt>
- <dd>If set to any value, causes the build to disable assertions, even if
+ <dd>If set to 1, causes the build to disable assertions, even if
building a debug or profile build. This will exclude all assertion check
code from the build. LLVM will execute faster, but with little help when
things go wrong.</dd>