diff options
author | Howard Chu <hyc@symas.com> | 2019-11-18 07:58:22 +0000 |
---|---|---|
committer | Howard Chu <hyc@symas.com> | 2019-11-18 09:18:00 +0000 |
commit | abeed9a767ae68389fb1fae9f0bd4affc886e610 (patch) | |
tree | 80bdeaf930e496b95a429b350942e4d96edac0f8 /contrib/depends/packages | |
parent | Fixup compiled python in OSX (diff) | |
download | monero-abeed9a767ae68389fb1fae9f0bd4affc886e610.tar.xz |
"Fix" non-determinism in native_cctools build
By omitting the otool binary which is built non-deterministically.
We don't use it anyway.
Diffstat (limited to 'contrib/depends/packages')
-rw-r--r-- | contrib/depends/packages/native_cctools.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/depends/packages/native_cctools.mk b/contrib/depends/packages/native_cctools.mk index bcfe1af6b..8bf71254f 100644 --- a/contrib/depends/packages/native_cctools.mk +++ b/contrib/depends/packages/native_cctools.mk @@ -10,6 +10,7 @@ $(package)_clang_download_file=clang+llvm-$($(package)_clang_version)-x86_64-lin $(package)_clang_file_name=clang-llvm-$($(package)_clang_version)-x86_64-linux-gnu-ubuntu-14.04.tar.xz $(package)_clang_sha256_hash=99b28a6b48e793705228a390471991386daa33a9717cd9ca007fcdde69608fd9 $(package)_extra_sources=$($(package)_clang_file_name) +$(package)_patches=skip_otool.patch define $(package)_fetch_cmds $(call fetch_file,$(package),$($(package)_download_path),$($(package)_download_file),$($(package)_file_name),$($(package)_sha256_hash)) && \ @@ -37,7 +38,10 @@ $(package)_cc=$($(package)_extract_dir)/toolchain/bin/clang $(package)_cxx=$($(package)_extract_dir)/toolchain/bin/clang++ endef +# If clang gets updated to a version with a fix for https://reviews.llvm.org/D50559 +# then the patch that skips otool can be removed. define $(package)_preprocess_cmds + patch -p0 < $($(package)_patch_dir)/skip_otool.patch && \ cd $($(package)_build_subdir); ./autogen.sh && \ sed -i.old "/define HAVE_PTHREADS/d" ld64/src/ld/InputFiles.h endef |