aboutsummaryrefslogtreecommitdiffstats
path: root/community/anytun/fix-werror-compile-flags.patch
blob: 919a74b24e3f6bab4f2f3d8bd91c2ca7393c24a2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/src/configure b/src/configure
index 65a0c74..357628e 100755
--- a/src/configure
+++ b/src/configure
@@ -217,8 +217,8 @@ if [ -n "$ERRORS" ] && [ $EBUILD_COMPAT -ne 1 ]; then
 fi
 
 if [ $USE_CLANG -eq 0 ]; then
-  CXXFLAGS='-g -Wall -Werror -Wno-error=unused-variable -O2'
-  LDFLAGS='-g -Wall -Werror -O2'
+  CXXFLAGS='-g -Wall -Wno-error=unused-variable -O2'
+  LDFLAGS='-g -Wall -O2'
   COMPILER='g++'
 else
   CXXFLAGS='-g -O2'