blender: musl disable lzma affinity
This commit is contained in:
parent
e8692fd592
commit
8d580b40fd
@ -1,24 +0,0 @@
|
||||
From 8ad26a05598810b9d64722ac48507c145b010e30 Mon Sep 17 00:00:00 2001
|
||||
From: Leon Marz <main@lmarz.org>
|
||||
Date: Wed, 7 Dec 2022 21:18:58 +0100
|
||||
Subject: [PATCH 1/2] musl fixes
|
||||
|
||||
---
|
||||
extern/glog/src/config_linux.h | 1 -
|
||||
1 file changed, 1 deletion(-)
|
||||
|
||||
diff --git a/extern/glog/src/config_linux.h b/extern/glog/src/config_linux.h
|
||||
index b3a3325..946095a 100644
|
||||
--- a/extern/glog/src/config_linux.h
|
||||
+++ b/extern/glog/src/config_linux.h
|
||||
@@ -14,7 +14,6 @@
|
||||
#define HAVE_DLFCN_H
|
||||
|
||||
/* Define to 1 if you have the <execinfo.h> header file. */
|
||||
-#define HAVE_EXECINFO_H
|
||||
|
||||
/* Define if you have the `fcntl' function */
|
||||
#define HAVE_FCNTL
|
||||
--
|
||||
2.47.0
|
||||
|
@ -1,7 +1,7 @@
|
||||
# Template file for 'blender'
|
||||
pkgname=blender
|
||||
version=4.3.1
|
||||
revision=1
|
||||
revision=2
|
||||
archs="x86_64* ppc64*"
|
||||
build_style="cmake"
|
||||
pycompile_dirs="usr/share/blender/${version%.*}/scripts"
|
||||
@ -39,7 +39,10 @@ LDFLAGS="-Wl,-z,stack-size=2097152"
|
||||
make_check=no
|
||||
|
||||
if [ "$XBPS_TARGET_LIBC" = musl ]; then
|
||||
configure_args+=" -DWITH_LZMA=OFF"
|
||||
CFLAGS+=" -DZ7_AFFINITY_DISABLE"
|
||||
CXXFLAGS+=" -DZ7_AFFINITY_DISABLE"
|
||||
makedepends+=" libexecinfo-devel"
|
||||
LDFLAGS+=" -lexecinfo"
|
||||
else
|
||||
makedepends+=" jemalloc-devel"
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user