summaryrefslogtreecommitdiff
path: root/doc/source/user/building.rst
diff options
context:
space:
mode:
Diffstat (limited to 'doc/source/user/building.rst')
-rw-r--r--doc/source/user/building.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/source/user/building.rst b/doc/source/user/building.rst
index b98f89c2d..76eb48487 100644
--- a/doc/source/user/building.rst
+++ b/doc/source/user/building.rst
@@ -132,6 +132,8 @@ Supplying additional compiler flags
Additional compiler flags can be supplied by setting the ``OPT``,
``FOPT`` (for Fortran), and ``CC`` environment variables.
+When providing options that should improve the performance of the code ensure
+that you also set ``-DNDEBUG`` so that debugging code is not executed.
Building with ATLAS support