diff options
author | qwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-06-28 21:31:00 +0000 |
---|---|---|
committer | qwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-06-28 21:31:00 +0000 |
commit | 5ca2bc32537ac4fd086d3ae1f62f37344ebcc66d (patch) | |
tree | 0febf5617c2e83f8e122673ee15d9b2e19edf087 /Makefile | |
parent | f1d65bfb7d65264ef398c5d4acf8f7615ad51ef6 (diff) |
Apparently some builds of gcc don't have declaration-after-statement.
This checks for it in configure, and only uses it if it's available.
If it's wrong, somebody please yell at me and tell me why.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@72539 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -193,7 +193,7 @@ ASTCFLAGS+=-pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declar ASTCFLAGS+=-include $(ASTTOPDIR)/include/asterisk/autoconfig.h ifeq ($(AST_DEVMODE),yes) - ASTCFLAGS+=-Werror -Wunused -Wundef -Wdeclaration-after-statement + ASTCFLAGS+=-Werror -Wunused -Wundef $(AST_DECLARATION_AFTER_STATEMENT) endif ifneq ($(findstring BSD,$(OSARCH)),) |