haproxy: simplify target
This commit is contained in:
parent
b090364c85
commit
1dd1920280
1 changed files with 2 additions and 6 deletions
|
@ -19,12 +19,8 @@ conf_files="/etc/${pkgname}/${pkgname}.cfg"
|
||||||
system_accounts="$pkgname"
|
system_accounts="$pkgname"
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
local target atomic
|
local target="linux-${XBPS_TARGET_LIBC}"
|
||||||
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
|
local atomic
|
||||||
target=linux-musl
|
|
||||||
else
|
|
||||||
target=linux-glibc
|
|
||||||
fi
|
|
||||||
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
||||||
atomic="-latomic"
|
atomic="-latomic"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue