From 1dd19202800065901206a41e1a25823f366f6424 Mon Sep 17 00:00:00 2001 From: q66 Date: Tue, 9 Jun 2020 20:57:20 +0200 Subject: [PATCH] haproxy: simplify target --- srcpkgs/haproxy/template | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/srcpkgs/haproxy/template b/srcpkgs/haproxy/template index 597b2b7d7f1..290c784829d 100644 --- a/srcpkgs/haproxy/template +++ b/srcpkgs/haproxy/template @@ -19,12 +19,8 @@ conf_files="/etc/${pkgname}/${pkgname}.cfg" system_accounts="$pkgname" do_build() { - local target atomic - if [ "$XBPS_TARGET_LIBC" = "musl" ]; then - target=linux-musl - else - target=linux-glibc - fi + local target="linux-${XBPS_TARGET_LIBC}" + local atomic if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then atomic="-latomic" fi