aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2007-06-29 14:18:36 +0000
committerfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2007-06-29 14:18:36 +0000
commitf862ca09c64c398dc12a5ce8d074a82d86076199 (patch)
treeca689963584608b829333c5a2e26f091a153f24e /Makefile
parentdab1a9e111ccc1b78a0b127bd10cad3262f19f6f (diff)
Backport fix for GCC versions without support for declaration-after-statement.
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@72597 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 9e2e15837..1731d5d3d 100644
--- a/Makefile
+++ b/Makefile
@@ -192,7 +192,7 @@ ASTCFLAGS+=-pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declar
ASTCFLAGS+=-include $(ASTTOPDIR)/include/asterisk/autoconfig.h
ifeq ($(AST_DEVMODE),yes)
- ASTCFLAGS+=-Werror -Wunused -Wdeclaration-after-statement
+ ASTCFLAGS+=-Werror -Wunused $(AST_DECLARATION_AFTER_STATEMENT)
endif
ifneq ($(findstring BSD,$(OSARCH)),)