aboutsummaryrefslogtreecommitdiffstats
path: root/community/anytun/fix-werror-compile-flags.patch
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2016-08-22 07:28:39 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2016-08-22 07:28:39 +0000
commit55738ff3967d067c059212161b02a8b9c2d04108 (patch)
treed606c38f8e8e99f1faab353a8aecf754d2435d0f /community/anytun/fix-werror-compile-flags.patch
parente1858a4746c3817c4b0f36464548655c637d3e86 (diff)
downloadaports-55738ff3967d067c059212161b02a8b9c2d04108.tar.bz2
aports-55738ff3967d067c059212161b02a8b9c2d04108.tar.xz
community/anytun: moved from testing
Diffstat (limited to 'community/anytun/fix-werror-compile-flags.patch')
-rw-r--r--community/anytun/fix-werror-compile-flags.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/community/anytun/fix-werror-compile-flags.patch b/community/anytun/fix-werror-compile-flags.patch
new file mode 100644
index 0000000000..919a74b24e
--- /dev/null
+++ b/community/anytun/fix-werror-compile-flags.patch
@@ -0,0 +1,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'