diff options
Diffstat (limited to 'net/haproxy')
-rw-r--r-- | net/haproxy/Makefile | 3 | ||||
-rw-r--r-- | net/haproxy/files/patch-Makefile | 11 |
2 files changed, 13 insertions, 1 deletions
diff --git a/net/haproxy/Makefile b/net/haproxy/Makefile index 5c02b931041b..627783c57c76 100644 --- a/net/haproxy/Makefile +++ b/net/haproxy/Makefile @@ -24,7 +24,8 @@ DEVICEATLAS_DISTFILE= deviceatlas-enterprise-c-${DEVICEATLAS_VERSION} DEVICEATLAS_REGISTRATION_URL= https://deviceatlas.com/deviceatlas-haproxy-module MAKE_ARGS= TARGET=freebsd DEFINE=-DFREEBSD_PORTS USE_GETADDRINFO=1 \ - USE_ZLIB=1 USE_CPU_AFFINITY=1 USE_REGPARM=1 USE_ACCEPT4=1 CC="${CC}" CFLAGS="${CFLAGS} -fno-strict-aliasing -fwrapv" + USE_ZLIB=1 USE_CPU_AFFINITY=1 USE_REGPARM=1 USE_ACCEPT4=1 \ + CC="${CC}" DEBUG_CFLAGS="" CPU_CFLAGS="${CFLAGS}" OPTIONS_DEFINE= DOCS EXAMPLES LUA OPENSSL DEVICEATLAS OPTIONS_RADIO= PCRE 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 |