aboutsummaryrefslogtreecommitdiff
path: root/contrib/depends/packages/native_cctools.mk
diff options
context:
space:
mode:
authorHoward Chu <hyc@symas.com>2022-05-03 23:03:28 +0100
committerHoward Chu <hyc@symas.com>2022-05-06 16:45:45 +0100
commit1008318715245aa50fdae6e338b9df6971f9afd7 (patch)
tree23797d709ecfbb6660b2d000730fa094bccb82bb /contrib/depends/packages/native_cctools.mk
parentUpdate to MacOSX SDK 11.1, add Mac M1 (diff)
downloadmonero-1008318715245aa50fdae6e338b9df6971f9afd7.tar.xz
Update native_cctools for newer SDK support
Diffstat (limited to 'contrib/depends/packages/native_cctools.mk')
-rw-r--r--contrib/depends/packages/native_cctools.mk9
1 files changed, 5 insertions, 4 deletions
diff --git a/contrib/depends/packages/native_cctools.mk b/contrib/depends/packages/native_cctools.mk
index 64a72e484..02da9cd84 100644
--- a/contrib/depends/packages/native_cctools.mk
+++ b/contrib/depends/packages/native_cctools.mk
@@ -1,9 +1,9 @@
package=native_cctools
-$(package)_version=807d6fd1be5d2224872e381870c0a75387fe05e6
-$(package)_download_path=https://github.com/theuni/cctools-port/archive
+$(package)_version=04663295d0425abfac90a42440a7ec02d7155fea
+$(package)_download_path=https://github.com/tpoechtrager/cctools-port/archive
$(package)_download_file=$($(package)_version).tar.gz
$(package)_file_name=$(package)-$($(package)_version).tar.gz
-$(package)_sha256_hash=a09c9ba4684670a0375e42d9d67e7f12c1f62581a27f28f7c825d6d7032ccc6a
+$(package)_sha256_hash=70a7189418c2086d20c299c5d59250cf5940782c778892ccc899c66516ed240e
$(package)_build_subdir=cctools
$(package)_clang_version=3.7.1
$(package)_clang_download_path=http://llvm.org/releases/$($(package)_clang_version)
@@ -12,6 +12,7 @@ $(package)_clang_file_name=clang-llvm-$($(package)_clang_version)-x86_64-linux-g
$(package)_clang_sha256_hash=99b28a6b48e793705228a390471991386daa33a9717cd9ca007fcdde69608fd9
$(package)_extra_sources=$($(package)_clang_file_name)
$(package)_patches=skip_otool.patch
+$(package)_dependencies=native_libtapi
define $(package)_fetch_cmds
$(call fetch_file,$(package),$($(package)_download_path),$($(package)_download_file),$($(package)_file_name),$($(package)_sha256_hash)) && \
@@ -33,7 +34,7 @@ define $(package)_extract_cmds
endef
define $(package)_set_vars
-$(package)_config_opts=--target=$(host) --disable-lto-support
+$(package)_config_opts=--target=$(host) --disable-lto-support --with-libtapi=$(host_prefix)
$(package)_ldflags+=-Wl,-rpath=\\$$$$$$$$\$$$$$$$$ORIGIN/../lib
$(package)_cc=$($(package)_extract_dir)/toolchain/bin/clang
$(package)_cxx=$($(package)_extract_dir)/toolchain/bin/clang++