summaryrefslogtreecommitdiff
path: root/net/haproxy-devel/files/patch-Makefile
blob: 3c74b35769c9a514f35141bd75977d16c606970c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- Makefile.orig	2017-04-19 13:18:14.404480000 +0300
+++ Makefile	2017-04-19 13:18:26.684393000 +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