mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-11-28 22:31:06 +01:00
BUILD: Make DEBUG part of .build_opts
This forces a recompilation if the value of DEBUG= changes.
This commit is contained in:
parent
1a38ffcb0f
commit
81e948e051
2
Makefile
2
Makefile
@ -878,7 +878,7 @@ help:
|
|||||||
# Used only to force a rebuild if some build options change, but we don't do
|
# Used only to force a rebuild if some build options change, but we don't do
|
||||||
# it for certain targets which take no build options
|
# it for certain targets which take no build options
|
||||||
ifneq (reg-tests, $(firstword $(MAKECMDGOALS)))
|
ifneq (reg-tests, $(firstword $(MAKECMDGOALS)))
|
||||||
build_opts = $(shell rm -f .build_opts.new; echo \'$(TARGET) $(BUILD_OPTIONS) $(VERBOSE_CFLAGS)\' > .build_opts.new; if cmp -s .build_opts .build_opts.new; then rm -f .build_opts.new; else mv -f .build_opts.new .build_opts; fi)
|
build_opts = $(shell rm -f .build_opts.new; echo \'$(TARGET) $(BUILD_OPTIONS) $(VERBOSE_CFLAGS) $(DEBUG)\' > .build_opts.new; if cmp -s .build_opts .build_opts.new; then rm -f .build_opts.new; else mv -f .build_opts.new .build_opts; fi)
|
||||||
.build_opts: $(build_opts)
|
.build_opts: $(build_opts)
|
||||||
else
|
else
|
||||||
.build_opts:
|
.build_opts:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user