diff options
author | Mark Michelson <mmichelson@digium.com> | 2016-01-14 13:22:46 -0600 |
---|---|---|
committer | Mark Michelson <mmichelson@digium.com> | 2016-01-14 13:22:46 -0600 |
commit | 935d641f3bb71d786e69ff99a6b6b99165fd4ca2 (patch) | |
tree | 9933580fee0f105efccbcd76f5007de4abe9745c /res/Makefile | |
parent | 236896f39172e3f97d69f0a8ab2593ac259d745f (diff) |
Remove res/ari/* content during 'make clean'.
'make clean' and 'make distclean' can leave behind .o files in the
res/ari/ directory. One observed consequence of this is that running
Asterisk with MALLOC_DEBUG can cause Asterisk to crash immediately on
startup sometimes.
By ensuring that we are making a clean build, we can be sure that stale
files are not being included in the build and causing problems when
build options should have caused files to be re-built.
ASTERISK-25683 #close
Reported by yaron nahum
Change-Id: I1f48baa904d2468eddeefb42ee68a56af7adc7b7
Diffstat (limited to 'res/Makefile')
-rw-r--r-- | res/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/res/Makefile b/res/Makefile index dbab9990c..d2a2ad9bc 100644 --- a/res/Makefile +++ b/res/Makefile @@ -81,6 +81,7 @@ clean:: rm -f stasis/*.[oi] stasis/*.gcda stasis/*.gcno rm -f parking/*.[oi] parking/*.gcda parking/*.gcno rm -f stasis_recording/*.[oi] stasis_recording/*.gcda stasis_recording/*.gcno + rm -f res/ari/*.[oi] res/ari/*.gcda res/ari/*.gcno $(if $(filter res_parking,$(EMBEDDED_MODS)),modules.link,res_parking.so): $(subst .c,.o,$(wildcard parking/*.c)) $(subst .c,.o,$(wildcard parking/*.c)): _ASTCFLAGS+=$(call MOD_ASTCFLAGS,res_parking) |