diff options
author | Corey Farrell <git@cfware.com> | 2015-04-17 03:16:59 -0400 |
---|---|---|
committer | Corey Farrell <git@cfware.com> | 2015-04-27 18:37:26 -0400 |
commit | 5c1d07baf083fd791c8f717209551d9227413ef7 (patch) | |
tree | 7eff8c651efb82e89fd7918038102b84fe888ced /contrib/Makefile | |
parent | d7f4788341f08f386341416aa3944c7f9bc0dc1b (diff) |
Astobj2: Allow reference debugging to be enabled/disabled by config.
* The REF_DEBUG compiler flag no longer has any effect on code that uses
Astobj2. It is used to determine if reference debugging is enabled by
default. Reference debugging can be enabled or disabled in asterisk.conf.
* Caller information is provided in logger errors for ao2 bad magic numbers.
* Optimizes AO2 by merging internal functions with the public counterpart.
This was possible now that we no longer require a dual ABI.
ASTERISK-24974 #close
Reported by: Corey Farrell
Change-Id: Icf3552721fe999365ba8a8cf00a965aa6b897cc1
Diffstat (limited to 'contrib/Makefile')
-rw-r--r-- | contrib/Makefile | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/contrib/Makefile b/contrib/Makefile index 2c91b47ab..37f4df439 100644 --- a/contrib/Makefile +++ b/contrib/Makefile @@ -20,10 +20,8 @@ clean: include $(ASTTOPDIR)/Makefile.rules install: - if [ -n "$(findstring REF_DEBUG,$(MENUSELECT_CFLAGS))" ]; then \ - $(INSTALL) -d "$(DESTDIR)$(ASTDATADIR)/scripts"; \ - $(INSTALL) -m 755 scripts/refcounter.py "$(DESTDIR)$(ASTDATADIR)/scripts/refcounter.py"; \ - fi + $(INSTALL) -d "$(DESTDIR)$(ASTDATADIR)/scripts"; \ + $(INSTALL) -m 755 scripts/refcounter.py "$(DESTDIR)$(ASTDATADIR)/scripts/refcounter.py"; \ uninstall: rm -f "$(DESTDIR)$(ASTDATADIR)/scripts/refcounter.py" |