stress-ng: disable list tests on musl.

This commit is contained in:
Leah Neukirchen 2023-01-21 15:37:18 +01:00
parent 8558222c69
commit 29e165872f

View file

@ -15,3 +15,10 @@ case "$XBPS_MACHINE" in
# stress-vecshuf.c:107:39: internal compiler error: in expand_debug_locations, at cfgexpand.c:5458 # stress-vecshuf.c:107:39: internal compiler error: in expand_debug_locations, at cfgexpand.c:5458
x86_64) nodebug=yes;; x86_64) nodebug=yes;;
esac esac
post_patch() {
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
sed -i 's/list_methods\[\]/list_methods[0]/g' stress-list.c
fi
}