]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
build docs: mention -DNDEBUG, to be sure
authorVladimír Čunát <vladimir.cunat@nic.cz>
Wed, 7 Dec 2016 12:12:43 +0000 (13:12 +0100)
committerVladimír Čunát <vladimir.cunat@nic.cz>
Wed, 7 Dec 2016 12:12:43 +0000 (13:12 +0100)
doc/build.rst

index 7ebd6a3e0166e7dfc1387b7c4341d73f1890c0e3..d60ddeebb838d4053dc10a6fe797b4e39a9b2655 100644 (file)
@@ -100,7 +100,9 @@ When you have all the dependencies ready, you can build and install.
    $ make PREFIX="/usr/local"
    $ make install PREFIX="/usr/local"
 
-.. note:: Always build with ``PREFIX`` if you want to install, as it is hardcoded in the executable for module search path. If you build the binary with ``-DNLOGDEBUG``, verbose logging will be disabled as well.
+.. note:: Always build with ``PREFIX`` if you want to install, as it is hardcoded in the executable for module search path.
+    Production code should be compiled with ``-DNDEBUG``.
+    If you build the binary with ``-DNLOGDEBUG``, verbose logging will be disabled as well.
 
 Alternatively you can build only specific parts of the project, i.e. ``library``.