From 6ff11745efd8da6d60bae57d8134e0c61234ddc2 Mon Sep 17 00:00:00 2001
From: Russell Bryant <russell@russellbryant.com>
Date: Fri, 7 Jul 2006 16:22:32 +0000
Subject: [PATCH] remove the use of -Wno-pointer-sign. Asterisk now builds
 without any of these warnings present on my machine.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37303 65c4cc65-6c06-0410-ace0-fbb531ad65f3
---
 Makefile | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/Makefile b/Makefile
index 300a1fb13b..e21b79a58a 100644
--- 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)
-- 
GitLab