summaryrefslogtreecommitdiff
path: root/net/haproxy/files
diff options
context:
space:
mode:
authorDmitry Sivachenko <demon@FreeBSD.org>2017-06-07 09:12:35 +0000
committerDmitry Sivachenko <demon@FreeBSD.org>2017-06-07 09:12:35 +0000
commitb03377a0ead5aaaf6561dfba75987014dd0e67e4 (patch)
treee8e9a30d8a52560be896e1db949568dd3f3ded2f /net/haproxy/files
parentUse CPU_CFLAGS from haproxy's Makefile to pass our CFLAGS. (diff)
Use CPU_CFLAGS from haproxy's Makefile to pass our CFLAGS.
Notes
Notes: svn path=/head/; revision=442822
Diffstat (limited to 'net/haproxy/files')
-rw-r--r--net/haproxy/files/patch-Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/net/haproxy/files/patch-Makefile b/net/haproxy/files/patch-Makefile
new file mode 100644
index 000000000000..783ed156b6f6
--- /dev/null
+++ b/net/haproxy/files/patch-Makefile
@@ -0,0 +1,11 @@
+--- Makefile.orig 2017-06-07 12:10:25.939151000 +0300
++++ Makefile 2017-06-07 12:11:26.904447000 +0300
+@@ -128,7 +128,7 @@ DEBUG_CFLAGS = -g
+ #### Compiler-specific flags that may be used to disable some negative over-
+ # optimization or to silence some warnings. -fno-strict-aliasing is needed with
+ # gcc >= 4.4.
+-SPEC_CFLAGS = -fno-strict-aliasing -Wdeclaration-after-statement
++SPEC_CFLAGS = -fno-strict-aliasing -Wdeclaration-after-statement -fwrapv
+
+ #### Memory usage tuning
+ # If small memory footprint is required, you can reduce the buffer size. There