From e97b04b0d74c042419363b5aaf1802151bffa257 Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Tue, 1 Mar 2022 07:40:24 +0100 Subject: [PATCH] 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. --- INSTALL | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/INSTALL b/INSTALL index 1a5af2b1b..83d5631e7 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 -- 2.47.3