aboutsummaryrefslogtreecommitdiff
path: root/depends/patches/native_libtapi/disable_zlib.patch
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2023-09-06 15:06:39 +0100
committerfanquake <fanquake@gmail.com>2023-09-06 16:36:33 +0100
commit1ed1183f47794d1a2d8deced58226b2a4e84eaf0 (patch)
tree1a175272d6512e91ae76739868556a0803e1b8f9 /depends/patches/native_libtapi/disable_zlib.patch
parent9d3b216e009a53ffcecd57e7f10df15cccd5fd6d (diff)
downloadbitcoin-1ed1183f47794d1a2d8deced58226b2a4e84eaf0.tar.xz
depends: libtapi 1300.0.6.5
Diffstat (limited to 'depends/patches/native_libtapi/disable_zlib.patch')
-rw-r--r--depends/patches/native_libtapi/disable_zlib.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/depends/patches/native_libtapi/disable_zlib.patch b/depends/patches/native_libtapi/disable_zlib.patch
new file mode 100644
index 0000000000..6c7691214a
--- /dev/null
+++ b/depends/patches/native_libtapi/disable_zlib.patch
@@ -0,0 +1,17 @@
+build: disable zlib
+
+This isn't needed, and causes issues when clang-tblgen
+is built, but trys to reach for a system libz.so.
+
+diff --git a/build.sh b/build.sh
+index e25d2f732..ec8422621 100755
+--- a/build.sh
++++ b/build.sh
+@@ -66,6 +66,7 @@ cmake ../src/llvm \
+ -DCMAKE_INSTALL_PREFIX=$INSTALLPREFIX \
+ -DTAPI_REPOSITORY_STRING=$TAPI_VERSION \
+ -DTAPI_FULL_VERSION=$TAPI_VERSION \
++ -DLLVM_ENABLE_ZLIB=OFF \
+ $CMAKE_EXTRA_ARGS
+
+ echo ""