svn commit: r543634 - in head/net/haproxy: . files
Dmitry Sivachenko
demon at FreeBSD.org
Tue Jul 28 21:14:16 UTC 2020
Author: demon
Date: Tue Jul 28 21:14:16 2020
New Revision: 543634
URL: https://svnweb.freebsd.org/changeset/ports/543634
Log:
Try to fix i386 builds: use GCC and -march=i586
to fix undefined symbol: __atomic_fetch_add_8.
PR: 248289
Reported by: Victor Sudakov <vas at sibptus.ru>
Deleted:
head/net/haproxy/files/patch-include-haproxy-atomic.h
Modified:
head/net/haproxy/Makefile
Modified: head/net/haproxy/Makefile
==============================================================================
--- head/net/haproxy/Makefile Tue Jul 28 20:27:27 2020 (r543633)
+++ head/net/haproxy/Makefile Tue Jul 28 21:14:16 2020 (r543634)
@@ -44,6 +44,11 @@ LUA_MAKE_ARGS= USE_LUA=1 LUA_INC=${LUA_INCDIR} LUA_LI
.include <bsd.port.pre.mk>
+.if ${ARCH} == "i386"
+MAKE_ARGS+= ARCH=i586
+USE_GCC= 9+
+.endif
+
.if ${ARCH} == "amd64" || ${ARCH} == "i386"
MAKE_ARGS+= USE_REGPARM=1
.endif
More information about the svn-ports-all
mailing list