From 9a7c28cd5aeb577740ccb37e9e740a177223a762 Mon Sep 17 00:00:00 2001 From: "Kevin P. Fleming" Date: Sat, 29 Nov 2008 15:29:33 +0000 Subject: we can now build with -Wformat=2, which found a couple of real bugs because SPRINTF() use non-literal format strings (which cannot be checked), move it into its own module so the rest of func_strings can benefit from format string checking git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@159774 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- main/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main/Makefile') diff --git a/main/Makefile b/main/Makefile index 51acf20ee..56b964d16 100644 --- a/main/Makefile +++ b/main/Makefile @@ -142,7 +142,7 @@ ifneq ($(findstring ENABLE_UPLOADS,$(MENUSELECT_CFLAGS)),) http.o: ASTCFLAGS+=$(GMIME_INCLUDE) endif -stdtime/localtime.o: ASTCFLAGS+=$(AST_NO_STRICT_OVERFLOW) +stdtime/localtime.o: ASTCFLAGS+=$(AST_NO_STRICT_OVERFLOW) -Wno-format-nonliteral AST_EMBED_LDSCRIPTS:=$(sort $(EMBED_LDSCRIPTS)) AST_EMBED_LDFLAGS:=$(foreach dep,$(EMBED_LDFLAGS),$(value $(dep))) -- cgit v1.2.3