mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-06 12:36:58 +00:00
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
This commit is contained in:
3
Makefile
3
Makefile
@@ -221,9 +221,6 @@ ifeq ($(AST_DEVMODE),yes)
|
|||||||
ASTCFLAGS+=-Werror -Wunused
|
ASTCFLAGS+=-Werror -Wunused
|
||||||
endif
|
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
|
ASTOBJ=-o asterisk
|
||||||
|
|
||||||
ifeq ($(findstring BSD,$(OSARCH)),BSD)
|
ifeq ($(findstring BSD,$(OSARCH)),BSD)
|
||||||
|
Reference in New Issue
Block a user