From: Willy Tarreau Date: Tue, 1 Mar 2022 06:40:24 +0000 (+0100) Subject: DOC: install: it's DEBUG_CFLAGS, not DEBUG, which is set to -g X-Git-Tag: v2.6-dev3~100 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e97b04b0d74c042419363b5aaf1802151bffa257;p=thirdparty%2Fhaproxy.git DOC: install: it's DEBUG_CFLAGS, not DEBUG, which is set to -g The INSTALL doc stated that the DEBUG variable is set to -g by default but that's not true, it's DEBUG_CFLAGS. --- diff --git a/INSTALL b/INSTALL index 1a5af2b1b4..83d5631e7b 100644 --- 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