summarylogtreecommitdiffstats
path: root/barnyard2-1.13-Werror.patch
blob: e3b8b9c9ae2a11942e567865326321e3ee656bf7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- a/configure.in
+++ b/configure.in
@@ -12,14 +12,6 @@
 NO_OPTIMIZE="no"
 ADD_WERROR="no"
 
-# Test for -Werror and sed it out for now since some of the auto tests,
-# for example AC_CHECK_LIB, will fail because of
-# warning: conflicting types for built-in function <func>
-if eval "echo $CFLAGS | grep -e -Werror"; then
-    CFLAGS=`echo $CFLAGS | sed -e "s/-Werror//g"`
-    ADD_WERROR="yes"
-fi
-
 # Disable annoying practice of recursively re-running the autotools
 AM_MAINTAINER_MODE
 AC_PROG_CC_STDC