diff --git a/llvm/docs/GettingStarted.html b/llvm/docs/GettingStarted.html
index a7c1819b452e..d0a48e09072c 100644
--- a/llvm/docs/GettingStarted.html
+++ b/llvm/docs/GettingStarted.html
@@ -955,6 +955,11 @@ declaring variables on the command line. The following are some examples:
Perform a Release (Optimized) build.
+
gmake ENABLE_OPTIMIZED=1 ENABLE_ASSERTIONS=1
+
+ Perform a Release (Optimized) build with assertions enabled.
+
+
gmake ENABLE_PROFILING=1
Perform a Profiling build.
diff --git a/llvm/docs/MakefileGuide.html b/llvm/docs/MakefileGuide.html
index f1c546c80ce5..254f21c9e2e4 100644
--- a/llvm/docs/MakefileGuide.html
+++ b/llvm/docs/MakefileGuide.html
@@ -632,6 +632,10 @@
to the compilers and linkers to ensure that profile data can be collected
from the tools built. Use the gprof tool to analyze the output from
the profiled tools (gmon.out).
+ ENABLE_ASSERTIONS
+ If set to any value, causes the build to enable assertions, even if
+ building a release or profile build. This is slower than a release build but
+ far faster than a debug build.
EXPERIMENTAL_DIRS
Specify a set of directories that should be built, but if they fail, it
should not cause the build to fail. Note that this should only be used