diff options
author | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-02-22 22:53:49 +0000 |
---|---|---|
committer | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-02-22 22:53:49 +0000 |
commit | 298fa6c9e1d883da32699692365b7fcf4326b534 (patch) | |
tree | c3e6c9f1df9f8d9321bbbd0d8108548d64f706dd /Makefile | |
parent | c1161711aac0ac5061eb317080ed05a7aa31b305 (diff) |
merge rizzo's patch to make compiler warnings stop the build, and fix a bunch of warnings found
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10805 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -233,6 +233,10 @@ endif INCLUDE+=-Iinclude -I../include ASTCFLAGS+=-pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations $(DEBUG) $(INCLUDE) -D_REENTRANT -D_GNU_SOURCE #-DMAKE_VALGRIND_HAPPY ASTCFLAGS+=$(OPTIMIZE) +ASTCFLAGS+= -Werror -Wunused +ifeq ($(shell gcc -v 2>&1 | grep 'gcc version' | cut -f3 -d' ' | cut -f1 -d.),4) +ASTCFLAGS+= -Wno-pointer-sign +endif ASTOBJ=-o asterisk ifeq ($(findstring BSD,$(OSARCH)),BSD) |