summaryrefslogtreecommitdiff
path: root/package/socat/patches/patch-configure
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-03-22 21:55:42 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-03-22 21:55:42 +0100
commitdb7ee5f68d81651baa6d48e6bcd4eaf1662c4619 (patch)
tree65d5d622d7733c53e47b0817d49d865d672cdb53 /package/socat/patches/patch-configure
parent844e6bdbb81fe3213e39621b81d48f33534c3f47 (diff)
parent6647520d52d800175545414c027d75ac39c07ecc (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/socat/patches/patch-configure')
-rw-r--r--package/socat/patches/patch-configure23
1 files changed, 23 insertions, 0 deletions
diff --git a/package/socat/patches/patch-configure b/package/socat/patches/patch-configure
new file mode 100644
index 000000000..75b014290
--- /dev/null
+++ b/package/socat/patches/patch-configure
@@ -0,0 +1,23 @@
+--- socat-1.7.2.4.orig/configure 2014-03-09 20:57:51.000000000 +0100
++++ socat-1.7.2.4/configure 2014-03-22 12:20:13.000000000 +0100
+@@ -3347,18 +3347,8 @@ fi
+ # fail
+
+
+-
+-if test "$CC" = "gcc"; then
+- CFLAGS="$CFLAGS -D_GNU_SOURCE -Wall -Wno-parentheses"
+- ERRONWARN="-Werror -O0"
+-elif test "$CC" = "clang"; then
+- CFLAGS="$CFLAGS -D_GNU_SOURCE -Wall -Wno-parentheses"
+- ERRONWARN="-Werror -O0"
+-#elif Sun Studio
+-# ERRONWARN="-errwarn"
+-else
+- ERRONWARN=
+-fi
++CFLAGS="$CFLAGS -D_GNU_SOURCE -Wall -Wno-parentheses"
++ERRONWARN="-Werror -O0"
+ export CFLAGS
+
+