projects
/
haproxy-2.5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81e948e
)
BUILD: Show the value of DEBUG= in haproxy -vv
author
Tim Duesterhus
<tim@bastelstu.be>
Sat, 21 Nov 2020 17:07:59 +0000
(18:07 +0100)
committer
Willy Tarreau
<w@1wt.eu>
Sat, 21 Nov 2020 17:27:33 +0000
(18:27 +0100)
Previously this was not visible after building.
Makefile
patch
|
blob
|
history
src/haproxy.c
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index
ff2084d
..
dd85e51
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-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 $@ $<
diff --git
a/src/haproxy.c
b/src/haproxy.c
index
cdc11a4
..
019cc57
100644
(file)
--- a/
src/haproxy.c
+++ b/
src/haproxy.c
@@
-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