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*)
|
aarch64*)
|
||||||
make_build_args="arch=arm64"
|
make_build_args="arch=arm64"
|
||||||
;;
|
;;
|
||||||
|
ppc64*)
|
||||||
|
make_build_args="arch=ppc64"
|
||||||
|
;;
|
||||||
|
ppc*)
|
||||||
|
make_build_args="arch=ppc"
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
post_extract() {
|
post_extract() {
|
||||||
|
@ -30,12 +36,10 @@ post_extract() {
|
||||||
|
|
||||||
# alternative might be:
|
# alternative might be:
|
||||||
# https://git.alpinelinux.org/cgit/aports/tree/testing/libtbb/glibc-struct-mallinfo.patch
|
# https://git.alpinelinux.org/cgit/aports/tree/testing/libtbb/glibc-struct-mallinfo.patch
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
|
||||||
*-musl)
|
vsed -e "s@#define MALLOC_UNIXLIKE_OVERLOAD_ENABLED __linux__@@" \
|
||||||
sed -e "s@#define MALLOC_UNIXLIKE_OVERLOAD_ENABLED __linux__@@" \
|
-i src/tbbmalloc/proxy.h
|
||||||
-i src/tbbmalloc/proxy.h
|
fi
|
||||||
;;
|
|
||||||
esac
|
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue