aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2006-02-23 04:38:38 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2006-02-23 04:38:38 +0000
commitefb2e34d2948dbc76d3be4a3a8805f7baba44bcc (patch)
tree3d2469d4b90405e234aaf1c5354e1ec6130e48fc /Makefile
parent12c605e61bc024fefed91b0ae6f8b71555ebeb60 (diff)
Fix a few compile warnings (turned errors) and disable -Werror on the
normal build. If people want this they can turn it on, and don't anyone turn it on by default until you fix building on GCC 4.x git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10842 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 27529e0dd..7ac1f4fd9 100644
--- a/Makefile
+++ b/Makefile
@@ -233,7 +233,7 @@ 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
+ASTCFLAGS+=# -Werror -Wunused
ifeq ($(shell gcc -v 2>&1 | grep 'gcc version' | cut -f3 -d' ' | cut -f1 -d.),4)
ASTCFLAGS+= -Wno-pointer-sign
endif