]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
DOC: install: it's DEBUG_CFLAGS, not DEBUG, which is set to -g
authorWilly Tarreau <w@1wt.eu>
Tue, 1 Mar 2022 06:40:24 +0000 (07:40 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 1 Mar 2022 06:40:24 +0000 (07:40 +0100)
The INSTALL doc stated that the DEBUG variable is set to -g by default
but that's not true, it's DEBUG_CFLAGS.

INSTALL

diff --git a/INSTALL b/INSTALL
index 1a5af2b1b4b88a5987b17b6236982892c85b9fc9..83d5631e7b5b0e329ac5cb91a9909d7aabdf1e13 100644 (file)
--- a/INSTALL
+++ b/INSTALL
@@ -519,10 +519,10 @@ section 4 about dependencies for more information on how to build with OpenSSL.
 HAProxy can compress HTTP responses to save bandwidth. Please see section 4
 about dependencies to see the available libraries and associated options.
 
-By default, the DEBUG variable is set to '-g' to enable debug symbols. It is
-not wise to disable it on uncommon systems, because it's often the only way to
-get a usable core when you need one. Otherwise, you can set DEBUG to '-s' to
-strip the binary.
+By default, the DEBUG_CFLAGS variable is set to '-g' to enable debug symbols.
+It is not wise to disable it on uncommon systems, because it's often the only
+way to get a usable core when you need one. Otherwise, you can set DEBUG to
+'-s' to strip the binary.
 
 If the ERR variable is set to any non-empty value, then -Werror will be added
 to the compiler so that any build warning will trigger an error. This is the