svn commit: r442822 - in head/net/haproxy: . files
Dmitry Sivachenko
demon at FreeBSD.org
Wed Jun 7 09:12:36 UTC 2017
Author: demon
Date: Wed Jun 7 09:12:35 2017
New Revision: 442822
URL: https://svnweb.freebsd.org/changeset/ports/442822
Log:
Use CPU_CFLAGS from haproxy's Makefile to pass our CFLAGS.
Added:
head/net/haproxy/files/patch-Makefile (contents, props changed)
Modified:
head/net/haproxy/Makefile
Modified: head/net/haproxy/Makefile
==============================================================================
--- head/net/haproxy/Makefile Wed Jun 7 09:10:05 2017 (r442821)
+++ head/net/haproxy/Makefile Wed Jun 7 09:12:35 2017 (r442822)
@@ -24,7 +24,8 @@ DEVICEATLAS_DISTFILE= deviceatlas-enterprise-c-${DEVIC
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
Added: head/net/haproxy/files/patch-Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net/haproxy/files/patch-Makefile Wed Jun 7 09:12:35 2017 (r442822)
@@ -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
More information about the svn-ports-all
mailing list