BUILD: Show the value of DEBUG= in haproxy -vv

Previously this was not visible after building.
This commit is contained in:
Tim Duesterhus 2020-11-21 18:07:59 +01:00 committed by Willy Tarreau
parent 81e948e051
commit c8d19702f4
2 changed files with 4 additions and 0 deletions

View File

@ -919,6 +919,7 @@ src/haproxy.o: src/haproxy.c $(DEP)
-DBUILD_CC='"$(strip $(CC))"' \
-DBUILD_CFLAGS='"$(strip $(VERBOSE_CFLAGS))"' \
-DBUILD_OPTIONS='"$(strip $(BUILD_OPTIONS))"' \
-DBUILD_DEBUG='"$(strip $(DEBUG))"' \
-DBUILD_FEATURES='"$(strip $(BUILD_FEATURES))"' \
-c -o $@ $<

View File

@ -586,6 +586,9 @@ static void display_build_opts()
#ifdef BUILD_OPTIONS
"\n OPTIONS = " BUILD_OPTIONS
#endif
#ifdef BUILD_DEBUG
"\n DEBUG = " BUILD_DEBUG
#endif
#ifdef BUILD_FEATURES
"\n\nFeature list : " BUILD_FEATURES
#endif