Mail archive
alpine-aports

[alpine-aports] [PATCH] main/haproxy: fix build on mips{el} (-latomic)

From: alpine-mips-patches <info_at_mobile-stream.com>
Date: Wed, 28 Nov 2018 07:01:20 +0000

Note mipsel* is intentional to cover out-of-tree mipseln8hf.
---
 main/haproxy/APKBUILD | 2 ++
 1 file changed, 2 insertions(+)
diff --git a/main/haproxy/APKBUILD b/main/haproxy/APKBUILD
index 84644fc13b..e83bb1259c 100644
--- a/main/haproxy/APKBUILD
+++ b/main/haproxy/APKBUILD
_at_@ -22,7 +22,9 @@ builddir="$srcdir/$pkgname-$pkgver"
 
 build() {
 	cd "$builddir"
+	case "$CARCH" in mips|mipsel*) _carchflags="ADDLIB=-latomic";; esac
 	make \
+	     $_carchflags \
 	     TARGET=linux2628 \
 	     USE_PCRE=1 \
 	     USE_OPENSSL=1 \
-- 
2.19.1
---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Wed Nov 28 2018 - 07:01:20 UTC