Changeset View
Changeset View
Standalone View
Standalone View
depends/packages/native_cctools.mk
package=native_cctools | package=native_cctools | ||||
$(package)_version=4da2f3b485bcf4cef526f30c0b8c0bcda99cdbb4 | $(package)_version=4da2f3b485bcf4cef526f30c0b8c0bcda99cdbb4 | ||||
$(package)_download_path=https://github.com/tpoechtrager/cctools-port/archive | $(package)_download_path=https://github.com/tpoechtrager/cctools-port/archive | ||||
$(package)_file_name=$($(package)_version).tar.gz | $(package)_file_name=$($(package)_version).tar.gz | ||||
$(package)_sha256_hash=a2d491c0981cef72fee2b833598f20f42a6c44a7614a61c439bda93d56446fec | $(package)_sha256_hash=a2d491c0981cef72fee2b833598f20f42a6c44a7614a61c439bda93d56446fec | ||||
$(package)_build_subdir=cctools | $(package)_build_subdir=cctools | ||||
$(package)_patches=ld64_disable_threading.patch | |||||
$(package)_clang_version=8.0.0 | $(package)_clang_version=8.0.0 | ||||
$(package)_clang_download_path=https://releases.llvm.org/$($(package)_clang_version) | $(package)_clang_download_path=https://releases.llvm.org/$($(package)_clang_version) | ||||
$(package)_clang_download_file=clang+llvm-$($(package)_clang_version)-x86_64-linux-gnu-ubuntu-16.04.tar.xz | $(package)_clang_download_file=clang+llvm-$($(package)_clang_version)-x86_64-linux-gnu-ubuntu-16.04.tar.xz | ||||
$(package)_clang_file_name=clang-llvm-$($(package)_clang_version)-x86_64-linux-gnu-ubuntu-16.04.tar.xz | $(package)_clang_file_name=clang-llvm-$($(package)_clang_version)-x86_64-linux-gnu-ubuntu-16.04.tar.xz | ||||
$(package)_clang_sha256_hash=87b88d620284d1f0573923e6f7cc89edccf11d19ebaec1cfb83b4f09ac5db09c | $(package)_clang_sha256_hash=87b88d620284d1f0573923e6f7cc89edccf11d19ebaec1cfb83b4f09ac5db09c | ||||
$(package)_libtapi_version=3efb201881e7a76a21e0554906cf306432539cef | $(package)_libtapi_version=3efb201881e7a76a21e0554906cf306432539cef | ||||
$(package)_libtapi_download_path=https://github.com/tpoechtrager/apple-libtapi/archive | $(package)_libtapi_download_path=https://github.com/tpoechtrager/apple-libtapi/archive | ||||
Show All 29 Lines | define $(package)_set_vars | ||||
$(package)_ldflags+=-Wl,-rpath=\\$$$$$$$$\$$$$$$$$ORIGIN/../lib | $(package)_ldflags+=-Wl,-rpath=\\$$$$$$$$\$$$$$$$$ORIGIN/../lib | ||||
$(package)_cc=$($(package)_extract_dir)/toolchain/bin/clang | $(package)_cc=$($(package)_extract_dir)/toolchain/bin/clang | ||||
$(package)_cxx=$($(package)_extract_dir)/toolchain/bin/clang++ | $(package)_cxx=$($(package)_extract_dir)/toolchain/bin/clang++ | ||||
endef | endef | ||||
define $(package)_preprocess_cmds | define $(package)_preprocess_cmds | ||||
CC=$($(package)_cc) CXX=$($(package)_cxx) INSTALLPREFIX=$($(package)_extract_dir) ./libtapi/build.sh && \ | CC=$($(package)_cc) CXX=$($(package)_cxx) INSTALLPREFIX=$($(package)_extract_dir) ./libtapi/build.sh && \ | ||||
CC=$($(package)_cc) CXX=$($(package)_cxx) INSTALLPREFIX=$($(package)_extract_dir) ./libtapi/install.sh && \ | CC=$($(package)_cc) CXX=$($(package)_cxx) INSTALLPREFIX=$($(package)_extract_dir) ./libtapi/install.sh && \ | ||||
sed -i.old "/define HAVE_PTHREADS/d" $($(package)_build_subdir)/ld64/src/ld/InputFiles.h | patch -p1 < $($(package)_patch_dir)/ld64_disable_threading.patch | ||||
endef | endef | ||||
define $(package)_config_cmds | define $(package)_config_cmds | ||||
$($(package)_autoconf) | $($(package)_autoconf) | ||||
endef | endef | ||||
define $(package)_build_cmds | define $(package)_build_cmds | ||||
$(MAKE) -j$(JOBS) | $(MAKE) -j$(JOBS) | ||||
Show All 16 Lines |