diff options
author | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-08-23 15:08:55 +0000 |
---|---|---|
committer | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-08-23 15:08:55 +0000 |
commit | bd6bd308992f078f9568422383d15969d8c467e6 (patch) | |
tree | e4a85170c74e7bbe3bda2dc7638351b2eb9802f3 /Makefile | |
parent | b6e0f58f648815eff1c4504dd01144fd3b3b6ade (diff) |
make MALLOC_DEBUG build work properly (issue #4970 with additional changes)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6379 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'Makefile')
-rwxr-xr-x | Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -204,6 +204,11 @@ GREP=/usr/xpg4/bin/grep M4=/usr/local/bin/m4 endif +# if doing a recursive make, don't double-up CFLAGS +ifeq ($(MAKECMDGOALS),ast_expr.a) +CFLAGS= +endif + INCLUDE=-Iinclude -I../include CFLAGS+=-pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations $(DEBUG) $(INCLUDE) -D_REENTRANT -D_GNU_SOURCE #-DMAKE_VALGRIND_HAPPY CFLAGS+=$(OPTIMIZE) |