wrk: broken on ppc32 and move it where xbps-src can see it

This commit is contained in:
q66 2020-01-10 17:46:08 +01:00
parent cbc25b0173
commit b635e4d9b0

View file

@ -14,11 +14,15 @@ distfiles="https://github.com/wg/wrk/archive/${version}.tar.gz"
checksum=6fa1020494de8c337913fd139d7aa1acb9a020de6f7eb9190753aa4b1e74271e
patch_args="-Np1"
case "$XBPS_TARGET_MACHINE" in
ppc64*) ;;
ppc*|mips*)
broken="__sync_fetch_and_add_8 and __sync_val_compare_and_swap_8 supported on $XBPS_TARGET_MACHINE"
;;
esac
pre_build() {
case "$XBPS_TARGET_MACHINE" in
mips*)
broken="__sync_fetch_and_add_8 and __sync_val_compare_and_swap_8 supported on $XBPS_TARGET_MACHINE"
;;
aarch64*)
make obj
luajit -b -a arm64 src/wrk.lua obj/bytecode.o