From: Tim Duesterhus Date: Sat, 21 Nov 2020 17:07:58 +0000 (+0100) Subject: BUILD: Make DEBUG part of .build_opts X-Git-Tag: v2.4-dev2~43 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=81e948e05160099272b01e31c72796477a4ab472;p=thirdparty%2Fhaproxy.git BUILD: Make DEBUG part of .build_opts This forces a recompilation if the value of DEBUG= changes. --- diff --git a/Makefile b/Makefile index b93b0a8723..ff2084dd1f 100644 --- a/Makefile +++ b/Makefile @@ -878,7 +878,7 @@ help: # 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 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) else .build_opts: