mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-08 16:13:50 +02:00
tbb: fix build for ppc*
This commit is contained in:
parent
80a4aaffa5
commit
6a93c48d9e
1 changed files with 10 additions and 6 deletions
|
@ -22,6 +22,12 @@ case "$XBPS_TARGET_MACHINE" in
|
|||
aarch64*)
|
||||
make_build_args="arch=arm64"
|
||||
;;
|
||||
ppc64*)
|
||||
make_build_args="arch=ppc64"
|
||||
;;
|
||||
ppc*)
|
||||
make_build_args="arch=ppc"
|
||||
;;
|
||||
esac
|
||||
|
||||
post_extract() {
|
||||
|
@ -30,12 +36,10 @@ post_extract() {
|
|||
|
||||
# alternative might be:
|
||||
# https://git.alpinelinux.org/cgit/aports/tree/testing/libtbb/glibc-struct-mallinfo.patch
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
*-musl)
|
||||
sed -e "s@#define MALLOC_UNIXLIKE_OVERLOAD_ENABLED __linux__@@" \
|
||||
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
|
||||
vsed -e "s@#define MALLOC_UNIXLIKE_OVERLOAD_ENABLED __linux__@@" \
|
||||
-i src/tbbmalloc/proxy.h
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
}
|
||||
|
||||
do_install() {
|
||||
|
|
Loading…
Add table
Reference in a new issue