haproxy: simplify target
This commit is contained in:
parent
b090364c85
commit
1dd1920280
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue