aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorrizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b>2007-06-29 21:14:12 +0000
committerrizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b>2007-06-29 21:14:12 +0000
commit132c6654622343091e31abe1c31775963bc7bc51 (patch)
treec7285d029188e3f7dc09c4d2f23bc06e9fe36731 /main
parent3263e714456b515cac425c8a0e4e0ce04b0a90cb (diff)
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: http://svn.digium.com/svn/asterisk/trunk@72727 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main')
-rw-r--r--main/minimime/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/main/minimime/Makefile b/main/minimime/Makefile
index 4b6c456ca..28c4934d9 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)