From: Luigi Rizzo Date: Fri, 29 Jun 2007 21:14:12 +0000 (+0000) Subject: As the comment in the code says: X-Git-Tag: 1.6.0-beta1~3^2~2195 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2392758621b05823c224a0b5e5d7bc74c2f29137;p=thirdparty%2Fasterisk.git As the comment in the code says: Use weaker error checking because we have some automatically generated files. However just mask out -Werror, because other warnings below: -Wundef -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes may actually be important and spot out real bugs. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72727 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/main/minimime/Makefile b/main/minimime/Makefile index 4b6c456ca3..28c4934d92 100644 --- a/main/minimime/Makefile +++ b/main/minimime/Makefile @@ -35,7 +35,12 @@ MM_SRCS= \ MM_OBJS:=$(MM_SRCS:%.c=%.o) MM_HDRS:=mm.h mm_util.h -ASTCFLAGS:=$(filter-out -Werror -Wundef -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes,$(ASTCFLAGS)) +# Use weaker error checking because we have some automatically generated +# files. However just mask out -Werror, because other warnings below: +# -Wundef -Wstrict-prototypes -Wmissing-declarations +# -Wmissing-prototypes +# may actually be important and spot out real bugs. +ASTCFLAGS:=$(filter-out -Werror,$(ASTCFLAGS)) all: $(LIBMMIME)