remove the use of -Wno-pointer-sign. Asterisk now builds without any of these
authorRussell Bryant <russell@russellbryant.com>
Fri, 7 Jul 2006 16:22:32 +0000 (16:22 +0000)
committerRussell Bryant <russell@russellbryant.com>
Fri, 7 Jul 2006 16:22:32 +0000 (16:22 +0000)
warnings present on my machine.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37303 65c4cc65-6c06-0410-ace0-fbb531ad65f3

Makefile

index 300a1fb..e21b79a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -221,9 +221,6 @@ ifeq ($(AST_DEVMODE),yes)
   ASTCFLAGS+=-Werror -Wunused
 endif
 
-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)