diff options
author | Dmitry Sivachenko <demon@FreeBSD.org> | 2020-07-28 21:14:16 +0000 |
---|---|---|
committer | Dmitry Sivachenko <demon@FreeBSD.org> | 2020-07-28 21:14:16 +0000 |
commit | a03e7112bcf030e00ca9a9e6081fee4e42928915 (patch) | |
tree | 3d6996395b99c80a8ad6fb8eb9419ded1f3762f1 /net/haproxy/Makefile | |
parent | 8153d2fdb6cdb012c2880ca250e32aa5734d9e3a (diff) | |
download | ports-a03e7112bcf030e00ca9a9e6081fee4e42928915.tar.gz ports-a03e7112bcf030e00ca9a9e6081fee4e42928915.zip |
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@sibptus.ru>
Notes
Notes:
svn path=/head/; revision=543634
Diffstat (limited to 'net/haproxy/Makefile')
-rw-r--r-- | net/haproxy/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/net/haproxy/Makefile b/net/haproxy/Makefile index d8ef71dfeac3..974de9c751f4 100644 --- a/net/haproxy/Makefile +++ b/net/haproxy/Makefile @@ -44,6 +44,11 @@ LUA_MAKE_ARGS= USE_LUA=1 LUA_INC=${LUA_INCDIR} LUA_LIB=${LUA_LIBDIR} LUA_LIB_NA .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 |